Open code-review-doctor opened 2 years ago
Test names must be unique per scope otherwise the second test overrides the first one with the same name.
For example if you had a test file that does:
def test_a(): pass def test_a(): pass
Then only the second test_a will be ran. More details here.
test_a
These are the tests that are overriding previously defined tests due to this problem:
https://github.com/Prodeko/prodeko-org-djangocms/blob/d89994c45de83e5e16a0dcfbbfc790da64b71cee/prodekoorg/app_toimarit/tests/test_models.py#L179
I found this issue automatically, see other issues here
Test names must be unique per scope otherwise the second test overrides the first one with the same name.
For example if you had a test file that does:
Then only the second
test_a
will be ran. More details here.These are the tests that are overriding previously defined tests due to this problem:
https://github.com/Prodeko/prodeko-org-djangocms/blob/d89994c45de83e5e16a0dcfbbfc790da64b71cee/prodekoorg/app_toimarit/tests/test_models.py#L179
I found this issue automatically, see other issues here