def test_check_shortcut_consistency_complains(self): self._scenario_setup(self.foaf_uri1, self.foaf_uri2) with self.assertRaises(AssertionError): check_shortcut_consistency()
def test_check_shortcut_consistency_does_not_complain(self): self._scenario_setup(self.foaf_uri1, self.foaf_uri1) self.assert_(not check_shortcut_consistency())