Skip to content

Commit 7204b84

Browse files
committed
Fix flake8 over-indentation
1 parent a000df5 commit 7204b84

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/avro/test_cached_client.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,16 @@ def test_cert_with_key(self):
138138
self.assertTupleEqual(('/path/to/cert', '/path/to/key'), self.client._session.cert)
139139

140140
def test_cert_path(self):
141-
self.client = CachedSchemaRegistryClient(url='https://127.0.0.1:65534',
142-
ca_location='/path/to/ca')
143-
self.assertEqual('/path/to/ca', self.client._session.verify)
141+
self.client = CachedSchemaRegistryClient(url='https://127.0.0.1:65534',
142+
ca_location='/path/to/ca')
143+
self.assertEqual('/path/to/ca', self.client._session.verify)
144144

145145
def test_context(self):
146-
with self.client as c:
147-
parsed = avro.loads(data_gen.BASIC_SCHEMA)
148-
schema_id = c.register('test', parsed)
149-
self.assertTrue(schema_id > 0)
150-
self.assertEqual(len(c.id_to_schema), 1)
146+
with self.client as c:
147+
parsed = avro.loads(data_gen.BASIC_SCHEMA)
148+
schema_id = c.register('test', parsed)
149+
self.assertTrue(schema_id > 0)
150+
self.assertEqual(len(c.id_to_schema), 1)
151151

152152
def test_init_with_dict(self):
153153
self.client = CachedSchemaRegistryClient({

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy