summaryrefslogtreecommitdiffstats
path: root/pytest.ini (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Address unclosed fd warningsAlan Rominger6 days1-15/+0
|
* 🧪 Make pytest notify us about future warningsSviatoslav Sydorenko6 days1-0/+87
| | | | | | | | | | | | | | | | | | | | | | | In essence, this configures Python to turn any warnings emitted in runtime into errors[[1]]. This is the best practice that allows reacting to future deprecation announcements that are coming from the dependencies (direct, or transitive, or even CPython itself)[[2]]. The typical workflow looks like this: 1. If a dependency is updated an a warning is hit in tests, the deprecated thing should be replaced with newer APIs. 2. If a dependency is transitive or we have no control over it otherwise, the specific warning and a regex matching its message, plus the module reference (where possible) can be added to the list of temporary ignores in `pytest.ini`. 3. The list of temporary ignores should be reevaluated periodically, including when dependency re-pinning in lockfile is happening. [1]: https://docs.python.org/3/using/cmdline.html#cmdoption-W [2]: https://pytest-with-eric.com/configuration/pytest-ignore-warnings/
* 🧪 Use xunit1 in pytest by default (#15524)Sviatoslav Sydorenko (Святослав Сидоренко)2024-09-171-1/+8
| | | This format is contains file paths unlike the newer implementation.
* Fix python_paths error in CI(#14622)Seth Foster2023-11-031-2/+0
| | | | | | | Remove outdated lines from pytest.ini Was causing KeyError 'python_paths' in CI Signed-off-by: Seth Foster <fosterbseth@gmail.com>
* Use separate module for pytest settings (#13895)Alan Rominger2023-04-251-1/+1
| | | | | | | * Use separate module for test settings * Further refine some pre-existing comments in settings * Add CACHES to setting snapshot exceptions to accommodate changed load order
* Squash a few deprecation warningsJeff Bradberry2022-03-081-0/+1
| | | | | | | | - inspect.getargspec() -> inspect.getfullargspec() - register pytest.mark.fixture_args - replace use of DRF's deprecated NullBooleanField - fix some usage of naive datetimes in the tests - fix some strings with backslashes that ought to be raw strings
* Python: Bump to python 3.8Yanis Guenane2021-03-241-2/+2
|
* Sweeping replace of old dev venv pathsShane McDonald2020-12-271-2/+2
|
* Make tests pass with current versions of thingsShane McDonald2020-06-161-1/+5
|
* Fix flaky workflow test & set junit familyChristian Adams2020-03-181-0/+1
|
* Basic License feature gating changesbeeankha2019-04-121-1/+0
|
* switch image builds to py3Ryan Petrello2019-01-151-2/+2
|
* Remove some obsolete code.Bill Nottingham2018-02-261-1/+0
|
* modularization of inventory_import commandAlanCoding2017-05-011-0/+2
| | | | | | | | | | | | | | | | | This separates file parsing logic that was mixed in with other important code inside of the inventory import command. The logic around MemObject data structures was moved to utils, and the file parsing was moved to a legacy module. As of this commit, that module can operate within the Tower environment but it will be removed. Also refactor the loggers to fix old bug and work inside of the different contexts - the Loader classes, mem objects, and hopefully the inventory modules eventually.
* Fix some venv issues related to the new dev envMatthew Jones2016-08-301-2/+2
|
* Additional travis/tox tweaksJames Laska2016-07-221-1/+1
| | | | | | | * Enable travis caching * Disable coverage after_build * Call setup.py develop first * Include pytest config and enable skipsdist
* has no one been runnning py.test ?Chris Meyers2016-05-121-2/+2
|
* Use --nomigrations for py.testAkita Noek2016-04-121-1/+1
| | | | | | | This is for two reasons, 1) it's a lot faster when starting from a new database, and 2) since we do database work within our migrations, it doesn't actually work within py.test, which is either a bug in pytest-djano, or a horrible behavior of pytest-django.
* migrate data from mongo to postgresChris Meyers2016-03-091-0/+1
|
* deny endpoint access to system tracking feature based on licenseChris Meyers2016-03-041-0/+1
|
* add postgres Fact model, update views, testsChris Meyers2016-02-241-0/+2
| | | | | | | | | | | | | * awx.main.models Fact added * view host fact and timeline updated to use new Postgres Fact model instead of Mongo * Removed license set start Mongo logic * added View tests * added Model tests * Removed mongo fact unit tests * point at modified jsonbfield that supports sqlite storage driver * postgresify fact cache receiver * test OPTIONS endpoint * Note: single fact view not implemented yet.
* default to reuse-db for testingWayne Witzel III2016-02-061-1/+1
|
* updating commands testsWayne Witzel III2016-02-021-0/+1
| | | | | | | | | | | | | | updating test imports, again relocate base and make tests a module added pytest config for awx/lib/site-packages restrucuting more test imports more test refactoring refactoring commands tests
* added pytest to requirements_devWayne Witzel III2016-02-021-0/+5
reworking test strucutre reworked pytest.ini, removed functional imports, updated req_dev remove unneeded __init__ files add testing checker to local_settings examples adding testing packages to system Python for docker