Skip to content

Commit

Permalink
Fixed indentation for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
padraic-shafer committed Jan 4, 2023
1 parent cb0d527 commit 54e0142
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/acceptance/test_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ async def test_cached_stampede(self, mocker, cache):

await asyncio.gather(decorator(stub)(0.5), decorator(stub)(0.5))

cache.get.assert_called_with("tests.acceptance.test_decoratorsstub(0.5,)[]", namespace=cache.namespace)
cache.get.assert_called_with("tests.acceptance.test_decoratorsstub(0.5,)[]",
namespace=cache.namespace)
assert cache.get.call_count == 4
cache.set.assert_called_with("tests.acceptance.test_decoratorsstub(0.5,)[]",
mock.ANY, ttl=10, namespace=cache.namespace)
mock.ANY, ttl=10,
namespace=cache.namespace)
assert cache.set.call_count == 1, cache.set.call_args_list

async def test_locking_dogpile_lease_expiration(self, mocker, cache):
Expand Down

0 comments on commit 54e0142

Please sign in to comment.