Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

11 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Mathieu Pillard 646844eea6 Use pytest fixtures to set up elasticsearch mocks in tests
This allows function-based tests or tests not inheriting from
our base TestCase class to still mock ElasticSearch, resulting
in faster tests.
2017-02-07 12:17:08 +01:00
Mark Striemer a207265995 Remove set_password/check_password (supports #3049) (#3662) 2016-10-13 12:37:43 -05:00
Christopher Grebs c6d1cc2d66 Update django-waffle, django-piston, more import path fixes.
* Pull in django-waffle 0.10 and a fixed version of django-piston.
  Both provide late-initialization support by not calling get_user_model
  on import-time.
* Add alias for addons.buttons.js
2016-01-06 10:48:03 +01:00
Christopher Grebs 580de6f78e Start renaming, re-ordering folder/module structure.
We now have something like that:

 - /
 -- src/
 --------- olympia/
 -------------- {access,accounts,amo,addons,...}
 -------------- wsgi.py
 -------------- urls.py
 -------------- migrations/
 -------------- libs/
 ...

Which generally feels more django-like again and makes porting
our sys.path hacks to django 1.7 and it's app-refactoring
a lot easier.

* Update setup.py to bring it to a more modern format
* Update gitignore
2016-01-06 10:48:02 +01:00
Kris Maglione 33027f0feb Unpin the DB for the current thread after every test. 2015-10-17 18:14:30 -07:00
Mathieu Agopian f7ef88f3c4 Don't flag for admin review when source submitted if not needed (bug 1200621) 2015-09-11 12:54:13 +02:00
Mathieu Agopian 98602f66d8 Try better using pytest fixtures instead of _pre_setup or _post_teardown 2015-08-27 14:55:43 +02:00
Kris Maglione edeff385b5 Use separate Elasticsearch instances and memcache pools for each slave when running under xdist. 2015-08-25 12:56:07 -07:00
Kris Maglione b6d2227748 Shuffle some test initialization code to allow running under xdist. 2015-08-25 12:56:07 -07:00
Mathieu Agopian 2783cceaf3 properly use settings_tests for tests 2014-12-19 18:32:48 +01:00
Mathieu Agopian 7c9c856873 Use pytest (bug 1090184) 2014-12-09 09:45:40 +01:00