Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
englehardt 087ae294ac Update env test for requirements-dev.txt 2019-06-25 16:34:08 -07:00
englehardt d28cda8c60 Update integration test for S3 aggregator + cleanup. 2019-06-25 16:18:46 -07:00
Nihanth Subramanya 72092d1f20 Remove jpm dependency check in test_env.py 2019-02-07 15:57:40 -08:00
Fredrik Wollsén b98c3befc7 Passing code style and functional tests 2018-09-28 11:51:20 +03:00
Fredrik Wollsén a4958f200f Running tests and demo in Mac OSX now works as long as the FIREFOX_BINARY environment variable is set 2018-09-28 11:49:38 +03:00
Fredrik Wollsén d66150154f Ability to specify a custom Firefox installation via the FF_BIN_PATH environment variable 2018-09-28 11:49:38 +03:00
Stephen Donner 6ffc8f6c13 Add and run flake8-isort in Travis builds
Add [isort] to setup.cfg, per docs

Fix flake8-isort errors in /test/*

Add mapped flake8-isort to pkg_name_mapping()

Fix one isort error

See https://travis-ci.org/citp/OpenWPM/jobs/407022965

Try fixing second flake8-isort error

See https://travis-ci.org/citp/OpenWPM/jobs/407388964

Moar fixes for flake8-isort validation

See https://travis-ci.org/citp/OpenWPM/jobs/407390660

This |isort --diff| run made flake8-isort happy, locally

Add future, six, and six.moves to isort's known_future_library section

Try outputting suggested flake8-isort fixes

Address a slew of flake8-isort issues, in Travis

Another round of flake8-isort 'fixes?

Add configs to isort; fix a few flake8-isort issues

Should fix isort errors

Hopefully final isort fixes

I think I cracked it: fixed isort issues

Remove debug flake8-isort command in Travis builds

Just update known_first_party with the couple I know
2018-07-25 04:05:07 -07:00
Zack Weinberg 861052c178 Allow blank lines in requirements.txt 2017-03-09 11:22:26 -05:00
Zack Weinberg 1c5d9356c0 Apply python-modernize + some hand tidy-ups.
This should get us 90% of the way to Python 3 support.
2017-03-09 11:00:54 -05:00
Zack Weinberg a24da928fe Remove mitmproxy; replace pyamf with mini-amf. 2017-03-09 10:17:38 -05:00
Gunes Acar 16d67cd803 Move boilerplate get_config code to the parent test class.
Read the python modules to be tested from requirements.txt

Add tests to make sure firefox-bin directory and the Firefox
binary within exist.

Fix some PEP8 warnings in the test code.

Remove unused imports.
2016-12-18 20:52:23 +01:00
Gunes Acar c20d9b548f Add travis.yml file to run continuous integration tests.
Install pytest for Travis tests.
Move python dependencies to requirements.txt.

Use mmh3 instead of pyhash

pyhash cannot be installed on Travis due to an outdated check
for libboost_python.so. mmh3 seems to be better maintained and
more widely used.
2016-04-23 14:55:39 +02:00
Gunes Acar c9e1ed8ab0 Inject intrumentation code to page content as a script element.
Add a manual_test module to make it easy to run interactive tests.

Add plugin and mimeType instrumentation.

Log line number, column number of the calling function and stack
entries.

Add local test files for Flash cookie and JS cookie testing.

Add test to make sure the required Python and OS packages are installed.

Mark test_crawl as "slow" to easily avoid calling it. Running
py.test -m "not slow" will exclude crawl test but will run all the
remanining tests.

Add test utility functions to DRY test code.

Add a WebRTC test.

Add a parent class and visit method for the tests.

Fix address in use errors related to local server
by using a py.test fixture with session scope.
2016-04-12 02:47:05 +02:00