Exemplo n.º 1
0
 def test_check_shortcut_consistency_complains(self):
     self._scenario_setup(self.foaf_uri1, self.foaf_uri2)
     with self.assertRaises(AssertionError):
         check_shortcut_consistency()
Exemplo n.º 2
0
 def test_check_shortcut_consistency_does_not_complain(self):
     self._scenario_setup(self.foaf_uri1, self.foaf_uri1)
     self.assert_(not check_shortcut_consistency())