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