Package list python-castellan / a1718bb
Update hacking for Python3 The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found by updated hacking version. Change-Id: I4f24c0fa5178f15912db899fcf26ca11480eab21 Andreas Jaeger authored 1 year, 8 months ago Andreas Jaeger committed 1 year, 8 months ago
11 changed file(s) with 21 addition(s) and 21 deletion(s). Raw diff Collapse all Expand all
116116 self.ks_password_credential)
117117
118118 self.assertFalse(self.ks_password_credential is None)
119 self.assertFalse(None == self.ks_password_credential)
119 self.assertFalse(None == self.ks_password_credential) # noqa: E711
120120
121121 other_ks_password_credential = keystone_password.KeystonePassword(
122122 self.password,
139139
140140 def test___ne___none(self):
141141 self.assertTrue(self.ks_password_credential is not None)
142 self.assertTrue(None != self.ks_password_credential)
142 self.assertTrue(None != self.ks_password_credential) # noqa: E711
143143
144144 def test___ne___password(self):
145145 other_password = "wheresmyCat??"
9292 self.ks_token_credential)
9393
9494 self.assertFalse(self.ks_token_credential is None)
95 self.assertFalse(None == self.ks_token_credential)
95 self.assertFalse(None == self.ks_token_credential) # noqa: E711
9696
9797 other_ks_token_credential = keystone_token.KeystoneToken(
9898 self.token,
111111
112112 def test___ne___none(self):
113113 self.assertTrue(self.ks_token_credential is not None)
114 self.assertTrue(None != self.ks_token_credential)
114 self.assertTrue(None != self.ks_token_credential) # noqa: E711
115115
116116 def test___ne___token(self):
117117 other_token = "5c59e3217d3d4dd297589b297aee2a6f"
4545 self.assertTrue(self.password_credential is self.password_credential)
4646
4747 self.assertFalse(self.password_credential is None)
48 self.assertFalse(None == self.password_credential)
48 self.assertFalse(None == self.password_credential) # noqa: E711
4949
5050 other_password_credential = password.Password(self.username,
5151 self.password)
5454
5555 def test___ne___none(self):
5656 self.assertTrue(self.password_credential is not None)
57 self.assertTrue(None != self.password_credential)
57 self.assertTrue(None != self.password_credential) # noqa: E711
5858
5959 def test___ne___username(self):
6060 other_username = "service"
3838 self.assertTrue(self.token_credential is self.token_credential)
3939
4040 self.assertFalse(self.token_credential is None)
41 self.assertFalse(None == self.token_credential)
41 self.assertFalse(None == self.token_credential) # noqa: E711
4242
4343 other_token_credential = token.Token(self.token)
4444 self.assertTrue(self.token_credential == other_token_credential)
4646
4747 def test___ne___none(self):
4848 self.assertTrue(self.token_credential is not None)
49 self.assertTrue(None != self.token_credential)
49 self.assertTrue(None != self.token_credential) # noqa: E711
5050
5151 def test___ne___token(self):
5252 other_token = "fe32af1fe47e4744a48254e60ae80012"
6666 self.assertTrue(self.opaque_data is self.opaque_data)
6767
6868 self.assertFalse(self.opaque_data is None)
69 self.assertFalse(None == self.opaque_data)
69 self.assertFalse(None == self.opaque_data) # noqa: E711
7070
7171 other_opaque_data = opaque_data.OpaqueData(self.data)
7272 self.assertTrue(self.opaque_data == other_opaque_data)
7474
7575 def test___ne___none(self):
7676 self.assertTrue(self.opaque_data is not None)
77 self.assertTrue(None != self.opaque_data)
77 self.assertTrue(None != self.opaque_data) # noqa: E711
7878
7979 def test___ne___data(self):
8080 other_opaque = opaque_data.OpaqueData(b'other data', self.name)
6666 self.assertTrue(self.passphrase is self.passphrase)
6767
6868 self.assertFalse(self.passphrase is None)
69 self.assertFalse(None == self.passphrase)
69 self.assertFalse(None == self.passphrase) # noqa: E711
7070
7171 other_passphrase = passphrase.Passphrase(self.passphrase_data)
7272 self.assertTrue(self.passphrase == other_passphrase)
7474
7575 def test___ne___none(self):
7676 self.assertTrue(self.passphrase is not None)
77 self.assertTrue(None != self.passphrase)
77 self.assertTrue(None != self.passphrase) # noqa: E711
7878
7979 def test___ne___data(self):
8080 other_phrase = passphrase.Passphrase(b"other passphrase", self.name)
8282 self.assertTrue(self.key is self.key)
8383
8484 self.assertFalse(self.key is None)
85 self.assertFalse(None == self.key)
85 self.assertFalse(None == self.key) # noqa: E711
8686
8787 other_key = private_key.PrivateKey(self.algorithm,
8888 self.bit_length,
9292
9393 def test___ne___none(self):
9494 self.assertTrue(self.key is not None)
95 self.assertTrue(None != self.key)
95 self.assertTrue(None != self.key) # noqa: E711
9696
9797 def test___ne___algorithm(self):
9898 other_key = private_key.PrivateKey('DSA',
8282 self.assertTrue(self.key is self.key)
8383
8484 self.assertFalse(self.key is None)
85 self.assertFalse(None == self.key)
85 self.assertFalse(None == self.key) # noqa: E711
8686
8787 other_key = public_key.PublicKey(self.algorithm,
8888 self.bit_length,
9292
9393 def test___ne___none(self):
9494 self.assertTrue(self.key is not None)
95 self.assertTrue(None != self.key)
95 self.assertTrue(None != self.key) # noqa: E711
9696
9797 def test___ne___algorithm(self):
9898 other_key = public_key.PublicKey('DSA',
8181 self.assertTrue(self.key is self.key)
8282
8383 self.assertFalse(self.key is None)
84 self.assertFalse(None == self.key)
84 self.assertFalse(None == self.key) # noqa: E711
8585
8686 other_key = sym_key.SymmetricKey(self.algorithm,
8787 self.bit_length,
9191
9292 def test___ne___none(self):
9393 self.assertTrue(self.key is not None)
94 self.assertTrue(None != self.key)
94 self.assertTrue(None != self.key) # noqa: E711
9595
9696 def test___ne___algorithm(self):
9797 other_key = sym_key.SymmetricKey('DES',
6666 self.assertTrue(self.cert is self.cert)
6767
6868 self.assertFalse(self.cert is None)
69 self.assertFalse(None == self.cert)
69 self.assertFalse(None == self.cert) # noqa: E711
7070
7171 other_x_509 = x_509.X509(self.data)
7272 self.assertTrue(self.cert == other_x_509)
7474
7575 def test___ne___none(self):
7676 self.assertTrue(self.cert is not None)
77 self.assertTrue(None != self.cert)
77 self.assertTrue(None != self.cert) # noqa: E711
7878
7979 def test___ne___data(self):
8080 other_x509 = x_509.X509(b'\x00\x00\x00', self.name)
00 # The order of packages is significant, because pip processes them in the order
11 # of appearance. Changing the order has an impact on the overall integration
22 # process, which may cause wedges in the gate later.
3 hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
3 hacking>=3.0,<3.1.0 # Apache-2.0
44
55 coverage!=4.4,>=4.0 # Apache-2.0
66 python-barbicanclient>=4.5.2 # Apache-2.0