예제 #1
0
 def test_end_matches_but_not_beginning(self):
     assert not _uie_matches(
         'tcsdata.components.rem.model.orm',
         'No module named tcdata.components.tcssite.model.orm')
     assert not _uie_matches(
         'tcsdata.components.rem.model.orm',
         "No module named 'tcdata.components.tcssite.model.orm'")
예제 #2
0
 def test_completely_different_exception(self):
     assert not _uie_matches('minimal2.components.internalonly.events',
                             'DLL load failed: The specified module could not be found.')
예제 #3
0
 def test_end_matches_but_not_beginning(self):
     assert not _uie_matches('tcsdata.components.rem.model.orm',
                             'No module named tcdata.components.tcssite.model.orm')
     assert not _uie_matches('tcsdata.components.rem.model.orm',
                             "No module named 'tcdata.components.tcssite.model.orm'")
예제 #4
0
 def test_two(self):
     assert _uie_matches('minimal2.components.internalonly.events',
                         'No module named internalonly.events')
     assert _uie_matches('minimal2.components.internalonly.events',
                         "No module named 'internalonly.events'")
예제 #5
0
 def test_one(self):
     assert _uie_matches('minimal1.events', 'No module named events')
     assert _uie_matches('minimal1.events', "No module named 'events'")
예제 #6
0
 def test_completely_different_exception(self):
     assert not _uie_matches(
         'minimal2.components.internalonly.events',
         'DLL load failed: The specified module could not be found.')
예제 #7
0
 def test_two(self):
     assert _uie_matches('minimal2.components.internalonly.events',
                         'No module named internalonly.events')
     assert _uie_matches('minimal2.components.internalonly.events',
                         "No module named 'internalonly.events'")
예제 #8
0
 def test_one(self):
     assert _uie_matches('minimal1.events', 'No module named events')
     assert _uie_matches('minimal1.events', "No module named 'events'")