Exemplo n.º 1
0
 def test_module_of_for_test_methods(self):
     tmeth = TestMethod('tmeth', parent=self.tclass)
     assert_equal(self.module, module_of(tmeth))
Exemplo n.º 2
0
 def test_module_of_for_method(self):
     meth = Method('meth', klass=self.klass)
     assert_equal(self.module, module_of(meth))
Exemplo n.º 3
0
 def test_module_of_for_test_classes(self):
     assert_equal(self.module, module_of(self.tclass))
Exemplo n.º 4
0
 def test_module_of_for_module(self):
     assert_equal(self.module, module_of(self.module))
Exemplo n.º 5
0
 def test_module_of_for_function(self):
     fun = Function('fun', module=self.module)
     assert_equal(self.module, module_of(fun))
Exemplo n.º 6
0
 def test_module_of_for_test_methods(self):
     tmeth = TestMethod('tmeth', parent=self.tclass)
     assert_equal(self.module, module_of(tmeth))
Exemplo n.º 7
0
 def test_module_of_for_test_classes(self):
     assert_equal(self.module, module_of(self.tclass))
Exemplo n.º 8
0
 def test_module_of_for_method(self):
     meth = Method('meth', klass=self.klass)
     assert_equal(self.module, module_of(meth))
Exemplo n.º 9
0
 def test_module_of_for_function(self):
     fun = Function('fun', module=self.module)
     assert_equal(self.module, module_of(fun))
Exemplo n.º 10
0
 def test_module_of_for_module(self):
     assert_equal(self.module, module_of(self.module))