Ejemplo n.º 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'")
Ejemplo n.º 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.')
Ejemplo n.º 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'")
Ejemplo n.º 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'")
Ejemplo n.º 5
0
 def test_one(self):
     assert _uie_matches('minimal1.events', 'No module named events')
     assert _uie_matches('minimal1.events', "No module named 'events'")
Ejemplo n.º 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.')
Ejemplo n.º 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'")
Ejemplo n.º 8
0
 def test_one(self):
     assert _uie_matches('minimal1.events', 'No module named events')
     assert _uie_matches('minimal1.events', "No module named 'events'")