1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-10-30 06:34:13 +00:00

tests: fix pytest warnings

Fix warnings reported when running unit tests via pytest.

- Rename TestDevice to MockDevice, so that it is not interpreted as a
  test case.
- Fix collections abstract base class imports.
- Add an ini file to ignore the same from "past".
This commit is contained in:
Sergei Trofimov
2019-12-03 12:44:25 +00:00
committed by Marc Bonnici
parent da0ceab027
commit cc1cc6f77f
5 changed files with 27 additions and 22 deletions

3
pytest.ini Normal file
View File

@@ -0,0 +1,3 @@
[pytest]
filterwarnings=
ignore::DeprecationWarning:past[.*]