def test_get_qualified_function_name_with_class(self): def f1(): pass self.assertEqual(_get_qualified_function_name(f1, cls=TestAppCache), 'tests.test_app_cache.TestAppCache.f1')
def test_get_qualified_function_name(self): self.assertEqual(_get_qualified_function_name(f1), 'tests.test_app_cache.f1')