def test_caveat_empty_domain(self): caveat = _get_authentication_caveat('https://example.com', domain='') self.assertEqual(caveat.location, 'https://example.com') self.assertEqual(caveat.condition, 'is-authenticated-user')
def test_caveat_empty_domain(self): caveat = _get_authentication_caveat("https://example.com", domain="") self.assertEqual(caveat.location, "https://example.com") self.assertEqual(caveat.condition, "is-authenticated-user")