Yelp / Testify

A more pythonic testing framework.
Other
308 stars 67 forks source link

--list-tests produces incorrect list #191

Closed asottile closed 11 years ago

asottile commented 11 years ago

[base_classes/base_class.py]

import testify as T

class BaseClass(T.TestCase):
    def test_foo(self): pass

[tests/test1.py]

from base_classes.base_class import BaseClass

class Test1(BaseClass): pass
$ testify tests --list-tests
['base_classes.base_class Test1.test_foo']

Expected

$ testify tests --list-tests
['tests.test1 Test1.test_foo']

Actually realistically I expect something like this:

$ testify tests --list-tests
tests.test1 Test1.test_foo

But I think that's another issue