Commit Graph

298 Commits

Author SHA1 Message Date
stv
fb9f324f2f Fix PEP8: E303 too many blank lines 2014-11-10 11:00:14 -08:00
stv
cf9308144d Fix PEP8: E302 expected 2 blank lines, found 1 2014-11-10 11:00:11 -08:00
Ned Batchelder
cce2aa7fdc No need to use which on a .py file 2014-11-01 16:31:44 -04:00
Andy Armstrong
8627fdef32 Support adding students to a cohort via the instructor dashboard.
TNL-163
2014-10-01 09:22:31 -04:00
clytwynec
3f5b829d0e Merge pull request #5147 from edx/clytwynec/auto_capture_har_on_error
enable auto-capturing of hars in bok-choy tests
2014-09-17 09:15:20 -04:00
Ben Patterson
fedba149d2 Merge pull request #5118 from edx/benp/paver-tests
Add tests for paver bok_choy commands
2014-09-16 20:32:15 -04:00
Ben Patterson
ae20b10608 Set paver command tests to run as part of unit test lib suites. 2014-09-16 15:20:22 -04:00
Christine Lytwynec
1be81109e5 enable auto-capturing of hars in bok-choy tests 2014-09-15 12:14:47 -04:00
Nimisha Asthagiri
3a772752de LMS-11286 Paver Bokchoy support for Split; default store set to Split. 2014-09-11 10:48:09 -04:00
Calen Pennington
1d9c272a2e LMS-11282 Paver Lettuce Acceptance support for Split; default store set to Draft. 2014-09-11 10:48:08 -04:00
clytwynec
118baafb1f Merge pull request #4943 from edx/mvo/bumping_bok_choy_version
bumping bok choy version
2014-08-29 10:08:51 -04:00
Minh Tue Vo
688909eb76 bumping bok choy version
check firefox version, raise exception with instructions for updating
2014-08-28 16:58:55 -04:00
Jesse Zoldak
cc41ccb48c Define SELENIUM_DRIVER_LOG_DIR in paver bok-choy command 2014-08-22 16:57:23 -04:00
Jesse Zoldak
4d5b948928 Merge pull request #4748 from Stanford-Online/jbau/parallel-unit-tests
make unit tests respect mongo port/host settings (with default)
2014-08-15 10:56:52 -04:00
Will Daly
680d5031d7 Merge pull request #4802 from edx/will/unit-test-staticfiles
Unit tests don't need assets
2014-08-12 16:42:19 -04:00
Will Daly
a827df27fe Remove update assets from unit test suite
Update settings so unit tests pass
2014-08-12 15:08:39 -04:00
Jesse Zoldak
e399c0b198 Clean out the mako temp dirs before running tests 2014-08-12 11:10:53 -04:00
Jason Bau
b55362b925 make unit tests respect mongo port/host settings (with default)
settings are read in from environment variable
2014-08-11 14:17:29 -07:00
clytwynec
8c8d388d1a Merge pull request #4744 from edx/clytwynec/remove_flaky_decorator_from_tests
removing "flaky" plugin, since it is not reporting failures properly
2014-08-08 10:15:03 -04:00
Christine Lytwynec
0243d0afa1 removing "flaky" plugin, since it is not reporting failures properly 2014-08-07 16:48:31 -04:00
Daniel Friedman
4b6035bafb Automatically collect HAR data for performance testing 2014-08-07 12:27:38 -04:00
Ben Patterson
fa10274d6c Revert "bok-choy: check mysql the old way." 2014-08-01 16:41:50 -04:00
Ben Patterson
e6d6a3bf92 bok-choy: check mysql the old way. 2014-08-01 16:15:00 -04:00
Ben Patterson
c8ef4a1b89 Bok-choy: check if mysql is running, even if it's not a daemon.
The impetus is integration with test environments, where mysql is not configured
as a service.
2014-08-01 14:01:47 -04:00
Christine Lytwynec
c7df52c511 enable sharding of bok-choy tests 2014-07-30 11:09:34 -04:00
Feanil Patel
c9a63657f6 Check to make sure that the mysql service is running. 2014-07-15 13:54:25 -04:00
Christine Lytwynec
52bc17545b skipping update assets, not just collectstatic, in unit tests 2014-07-03 11:56:13 -04:00
Christine Lytwynec
af9ae6753b Deprecating acceptance_tests from rake to paver 2014-06-25 10:30:19 -04:00
Dave St.Germain
834c2c472f Moved test_generate from i18n-tools 2014-06-23 10:06:28 -04:00
Christine Lytwynec
d6ed01bbf0 deprecating bok-choy tasks from rake to paver 2014-06-19 09:06:41 -04:00
David Baumgold
e159ff9b5d Remove unused verbose property 2014-06-06 15:35:33 -04:00
David Baumgold
4221bf9ec0 Set verbosity on paver test tasks 2014-06-06 15:35:33 -04:00
Christine Lytwynec
2e2136d39c Deprecated unit tests from rake to paver 2014-06-06 15:35:32 -04:00
Christine Lytwynec
550d054300 added and updated pavelib/quality.py from dglance branch, deprecated rake quality tasks 2014-05-23 13:19:27 -04:00
Jay Zoldak
4771242d57 Revert "added and updated pavelib/quality.py from dglance branch, deprecated rake quality tasks"
This reverts commit 7fd2305f39.
2014-05-23 08:40:43 -04:00
Christine Lytwynec
7fd2305f39 added and updated pavelib/quality.py from dglance branch, deprecated rake quality tasks 2014-05-20 16:22:28 -04:00
yarko
97ecc7a743 fix class var; set SERVICE_VARIANT to lms by default if unset (helps "paver --help" work cleanly) 2014-04-18 17:46:55 -05:00
yarko
59106f236f set reasonable SERVICE_VARIANT based on command line; ensure theme passed to coffeescript also; 2014-04-18 15:00:05 -05:00
Dave St.Germain
f886c9b7c5 Watch for asset changes. 2014-03-31 15:28:15 -04:00
Sef Kloninger
6ed59014d5 fix paver theming on devstack (SERVICE_VARIANT support)
When running in devstack, you need to set the SERVICE_VARIANT so that
assets.py knows what environment file to use.  Recall that in devstack
we have all our settings in ../lms.env.json, not just ../env.json.  So
you need to run like this:

    SERVICE_VARIANT=lms paver lms --settings=devstack

Previously you'd get this error:

    Warning: could not find environment JSON file at 'lms.env.json'

Note there is no path on the file, that's the bug.  By making
self.REPO_ROOT absolute, we can walk up the tree and correctly find
the file, which is /edx/app/edxapp/lms.env.json fwiw.
2014-03-26 16:28:54 -07:00
David Baumgold
37c4cb360a Help paver find the theme directory 2014-03-26 17:51:45 -04:00
David Baumgold
4fbfbf11ff write_stderr() function is unnecessary 2014-03-25 11:32:19 -04:00
David Baumgold
e9b0cc713a from __future__ import print_function
and print errors and warnings to sys.stderr
2014-03-25 11:32:19 -04:00
Will Daly
44dad41ede Switch from Rake to Paver 2014-03-25 11:32:19 -04:00
Will Daly
812e71bbbb Revert "Fix sys.path manipulation in pavement.py, with detailed comment"
This reverts commit 544616be4b.
2014-02-24 11:30:40 -05:00
Will Daly
544616be4b Fix sys.path manipulation in pavement.py, with detailed comment
Restore reverted changes from paver part 1
2014-02-18 15:09:07 -05:00
Will Daly
c85c4b22ed Revert "Replace rake functions with python paver functions"
This reverts commit df2e410f2a.
2014-02-14 14:25:28 -05:00
David Glance
df2e410f2a Replace rake functions with python paver functions
Deprecated rake functions issue a warning and then call paver
replacements

Bring Paver commands up to date with master for servers, assets, and docs.
Revert deprecation of quality, tests, and i18n for a future pull request.
Deprecate workspace migration
2014-02-14 11:25:55 -05:00