示例#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))