Jeremy Bowman
ae2c3b8edf
Fix mocks of open() - BOM-597
2019-09-19 13:53:37 -04:00
Feanil Patel
d01df30aac
Remove pytest command tests.
...
These tests essentially duplicate the logic for how the pytest commands
are generated and then compare the duplicated logic to the original
logic. This is pretty brittle and since we're running all the variants
here pretty regularly I think we have other ways of knowing if we caused
the command to break.
I don't think these tests are providing sufficient value to merit their
added complexity.
2019-09-09 10:52:57 -04:00
Feanil Patel
6c5780c807
The version of python2 we're running doesn't have the backported alias.
2019-09-05 15:54:16 -04:00
Feanil Patel
f068bab7ab
Import EnvironmentVarGuard from the new location that's valid in 2.7 and 3.5
2019-09-05 11:15:00 -04:00
Ayub khan
8a95a8e520
BOM-95
...
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
Feanil Patel
9926fa0fbd
Moto got better at checking permissions in their mock.
...
Since we want anonymous read of these objects, we have to be explicit about
the bucket permissions or the test will fail.
2019-08-02 13:42:13 -04:00
Feanil Patel
a5afacf62a
These tests don't test anything interesting.
...
They are running into issues because of a bug in moto but looking closer
at what they are testing. Both tests test the happy path of the
underlying function. In the happy path scenario all boto calls succeed
and all theses test do is test that but with all the boto calls mocked
out. So we're just testing whether the mock is a good mock of boto
which is not useful.
2019-08-02 13:42:06 -04:00
Aarif
dc6e72652a
Merge pull request #21045 from edx/INCR-391
...
INCR-391 Python 3 compatibility
2019-07-23 13:28:49 +05:00
aarif
bb705970b0
ran python-modernize and isort on files mentioned in INCR-391
...
changes made to comply with quality
ran python-modernize and isort on files mentioned in INCR-391
2019-07-22 13:48:52 +05:00
aarif
0f3cc01f59
ran python-modernize and isort on files mentioned in INCR-390
...
ran python-modernize and isort on files mentioned in INCR-390
ran python-modernize and isort on files mentioned in INCR-390
ran python-modernize and isort on files mentioned in INCR-390
ran python-modernize and isort on files mentioned in INCR-390
ran python-modernize and isort on files mentioned in INCR-390
ran python-modernize and isort on files mentioned in INCR-390
ran python-modernize and isort on files mentioned in INCR-390
2019-07-22 13:40:35 +05:00
Feanil Patel
ad2444204a
Deal with xss linter.
2019-07-17 12:26:21 -04:00
Feanil Patel
a781523c91
Convert what's left of pavelib.
2019-07-17 12:26:21 -04:00
arbisoft
0726356d7c
Fixing python-modernize issues.
2019-07-10 18:35:47 +05:00
Michael Youngstrom
139cdb8ba2
Switch testing from ecs to ec2 ( #20846 )
2019-06-27 22:04:02 -04:00
Jeremy Bowman
c1c4cf5bf7
Remove more unused pa11ycrawler code ( #20690 )
2019-05-24 15:22:08 -04:00
Jeremy Bowman
a9cd9de89f
TE-2647 Stop running pa11ycrawler ( #20682 )
2019-05-24 11:02:49 -04:00
Jeremy Bowman
f9929f32b5
Update quality threshold counts ( #20681 )
2019-05-24 08:27:54 -04:00
bmedx
e11e062292
Mock CourseEnrollment history for test performance
2019-05-06 18:03:41 -04:00
Julia Eskew
731d076cdc
Add app_name prefix to the generated PII report.
2019-02-21 14:11:59 -05:00
Julia Eskew
060d3b8e85
Accept option for PII checker report dir. Add PII check to CI quality check.
...
Add tests for run_pii_check paver command.
2019-02-21 12:47:34 -05:00
Matthew Piatetsky
6cf44a0467
fix unicode strings in pavelib/
2019-02-05 09:14:20 -05:00
cclauss
8fca11b85c
Use print() function in both Python 2 and Python 3
2019-01-13 17:16:37 +01:00
Jeremy Bowman
d0d6d57343
TE-2731 Upgrade to pytest-cov 2.6.1
2019-01-08 11:05:45 -05:00
Jeremy Bowman
f2ee1b5cfe
TE-2808 Fix diff-quality comparison target
2018-12-12 15:51:28 -05:00
Jeremy Bowman
a457d88c7a
TE-2812 Better output when print_setting fails
2018-12-10 10:59:04 -05:00
Ned Batchelder
3353e7425e
Remove unused imports
2018-11-03 16:07:05 -04:00
Stuart Young
10cfd3434e
remove paver timeout decorator
2018-10-01 13:43:02 -04:00
Michael Youngstrom
0959d7d8c2
Use Mock environment for paver quality tests
2018-09-26 11:44:28 -04:00
Michael Youngstrom
5d10dbad4a
Handle issues with delete_quality_junit_xml
2018-09-18 16:26:27 -04:00
Michael Youngstrom
d5f9f2b35c
Bump timeout on sample_function_1 test
2018-09-12 15:03:55 -04:00
Michael Youngstrom
ff7431a161
Add in PaverTestCase to flaky paver db test class
2018-09-12 12:15:48 -04:00
Stuart Young
0dd13fad1b
add paver timeout decorator and npm installation logs
2018-09-07 08:46:04 -04:00
Jeremy Bowman
3ff3eee2f2
TE-2689 Remove useless pylint suppressions part 4
2018-08-20 12:54:22 -04:00
Michael Youngstrom
b4fcbbd363
Switch Jenkinsfile over to xdist
2018-08-10 11:19:24 -04:00
Jeremy Bowman
1beb1c95fa
Merge pull request #18430 from openfun/allow-using-development-settings-other-than-devstack
...
Allow using dev settings other than DEVSTACK
2018-07-26 11:08:08 -04:00
Kshitij Sobti
bf6af13ed1
Add UI to browse and browse course structure and select the course/chapter/section... to generate a report of
2018-07-18 00:37:29 +05:30
Eric Fischer
b7d16b90f8
Add jest snapshot testing
2018-07-18 00:37:25 +05:30
Jeremy Bowman
fb3f786c66
TE-2583 Avoid redundant bok-choy DB setup steps
2018-07-02 18:13:50 -04:00
Calen Pennington
b85d6f031c
Merge pull request #18417 from cpennington/cale/fix-ora-webpack
...
Cale/fix ora webpack
2018-06-28 12:47:53 -04:00
Calen Pennington
07a15c681f
Reapply the XBlock RequireJS -> Webpack changes
...
This reverts commit 105db2cf59 , reversing
changes made to 447457594f .
2018-06-27 22:27:07 -04:00
Jeremy Bowman
e80152fd8a
TE-2584 Upgrade XBlock to fix edx-sga warning
2018-06-27 10:16:51 -04:00
Samuel Paccoud - FUN MOOC
8bc26d5aa6
usability(assets) allow using dev settings other than DEVSTACK
...
The commands related to building assets with webpack were assuming
that we are using devstack for development and were hardcoding
references to the devstack settings. We should be able to use
another settings file for development and let devstack be the
default.
2018-06-22 16:48:03 +02:00
Eric Fischer
e72549cdbe
Revert "Merge pull request #18340 from cpennington/fix-studio-xblock-rendering"
...
This reverts commit 9a70ca78a5 , reversing
changes made to efd5b9abbd .
Hopefully fixes EDUCATOR-3053
2018-06-15 13:18:27 -04:00
Calen Pennington
be3c7e05c5
Reapply "Switch container factory to webpack"
...
This reverts commit 18d93b00ba .
2018-06-07 15:52:05 -04:00
Calen Pennington
18d93b00ba
Revert "Switch container factory to webpack"
2018-06-07 13:46:47 -04:00
Calen Pennington
0abe75a7c6
Re-apply the changes to convert XBlocks to Webpack
...
Reapplies edx/edx-platform#17509
This reverts commit 0f7e2373d0 .
2018-06-06 12:52:12 -04:00
Calen Pennington
0f7e2373d0
Revert "Switch container factory to webpack"
2018-05-29 16:01:38 -04:00
Calen Pennington
a16b8cc4b5
Clean up pylint failures
2018-05-29 12:28:19 -04:00
Calen Pennington
61855b2b30
Extract a new webpack-based suite of cms javascript tests
2018-05-29 12:28:19 -04:00
Jeremy Bowman
9477ad23d1
TE-2528 Upgrade testing dependencies
2018-04-25 16:37:29 -04:00