Skip to content

Commit 16c2489

Browse files
Used black to fix linter error
1 parent 43dba49 commit 16c2489

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_watcher_ex.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from tests.test_enforcer import get_examples, TestCaseBase
1717
from unittest import IsolatedAsyncioTestCase
1818

19+
1920
class SampleWatcher:
2021
def __init__(self):
2122
self.callback = None
@@ -113,7 +114,7 @@ def start_watch(self):
113114
pass
114115

115116

116-
class AsyncSampleWatcher():
117+
class AsyncSampleWatcher:
117118
def __init__(self):
118119
self.callback = None
119120
self.notify_message = None
@@ -292,7 +293,7 @@ def get_enforcer(self, model=None, adapter=None):
292293
model,
293294
adapter,
294295
)
295-
296+
296297
async def test_auto_notify_enabled(self):
297298
e = self.get_enforcer(
298299
get_examples("basic_model.conf"),
@@ -328,7 +329,6 @@ async def test_auto_notify_enabled(self):
328329
await e.remove_policies(rules)
329330
self.assertEqual(w.notify_message, "called remove policies")
330331

331-
332332
async def test_auto_notify_disabled(self):
333333
e = self.get_enforcer(
334334
get_examples("basic_model.conf"),
@@ -364,4 +364,4 @@ async def test_auto_notify_disabled(self):
364364
self.assertEqual(w.notify_message, None)
365365

366366
await e.remove_policies(rules)
367-
self.assertEqual(w.notify_message, None)
367+
self.assertEqual(w.notify_message, None)

0 commit comments

Comments
 (0)