diff options
author | Colin Watson <cjwatson@debian.org> | 2023-12-17 15:38:51 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2023-12-17 15:40:50 +0000 |
commit | cf23c2ece2086abefbd03d3213fa04cb0129f175 (patch) | |
tree | 7970987d6315a6ca1a2b98a56dfada6ae87906ed /macaroonbakery/tests/test_macaroon.py | |
parent | 50ebbeefde26108bd0f77dea65c867f8374fab36 (diff) | |
parent | 56d126d1bea64081fe40a2a3f8fbb1c82267c0c6 (diff) |
Update upstream source from tag 'upstream/1.3.4'
Update to upstream version '1.3.4'
with Debian dir 777524adc014a778bea83b7686468832666f6c9c
Diffstat (limited to 'macaroonbakery/tests/test_macaroon.py')
-rw-r--r-- | macaroonbakery/tests/test_macaroon.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macaroonbakery/tests/test_macaroon.py b/macaroonbakery/tests/test_macaroon.py index bcbbf80..ab0cbe0 100644 --- a/macaroonbakery/tests/test_macaroon.py +++ b/macaroonbakery/tests/test_macaroon.py @@ -19,17 +19,17 @@ class TestMacaroon(TestCase): 'here', bakery.LATEST_VERSION) self.assertIsNotNone(m) - self.assertEquals(m._macaroon.identifier, b'some id') - self.assertEquals(m._macaroon.location, 'here') - self.assertEquals(m.version, bakery.LATEST_VERSION) + self.assertEqual(m._macaroon.identifier, b'some id') + self.assertEqual(m._macaroon.location, 'here') + self.assertEqual(m.version, bakery.LATEST_VERSION) def test_add_first_party_caveat(self): m = bakery.Macaroon('rootkey', 'some id', 'here', bakery.LATEST_VERSION) m.add_caveat(checkers.Caveat('test_condition')) caveats = m.first_party_caveats() - self.assertEquals(len(caveats), 1) - self.assertEquals(caveats[0].caveat_id, b'test_condition') + self.assertEqual(len(caveats), 1) + self.assertEqual(caveats[0].caveat_id, b'test_condition') def test_add_third_party_caveat(self): locator = bakery.ThirdPartyStore() |