mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-25 10:23:05 +00:00
ad2119aaa3
I run tests with setup.py or with the unittest module, but Fedora uses pytest. pytest assumes that any class or function starting with "test" is a test case, which is not always the case (e.g., drgn.helpers.linux.bitops.test_bit()). We've hit this at least twice, in #94 and #112. All of our tests are unittest.TestCase cases, so we can tell pytest to not match anything else. I'm using pytest.ini instead of pyproject.toml because pytest only started supporting the latter relatively recently. Closes #112. Signed-off-by: Omar Sandoval <osandov@osandov.com>
4 lines
45 B
INI
4 lines
45 B
INI
[pytest]
|
|
python_classes =
|
|
python_functions =
|