def test_method(self): self.assertEqual(standard_name_generator('auth.models.User.is_authenticated'), 'tests.test_auth.test_models:TestUser.test_is_authenticated')
def test_package(self): self.assertEqual(standard_name_generator('auth.models'), 'tests.test_auth.test_models')
def test_class(self): self.assertEqual(standard_name_generator('auth.models.User'), 'tests.test_auth.test_models:TestUser')
def test_module(self): self.assertEqual(standard_name_generator('auth'), 'tests.test_auth')