Skip to content

Commit

Permalink
fixing pylint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Nov 8, 2023
1 parent ea03ce7 commit 201e1ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/test_queue_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_is_enabled():
queue_utils = QueueUtils(_queue_name='')

# get the relay status
ret_val: str = queue_utils.is_relay_enabled()
ret_val: bool = queue_utils.is_relay_enabled()

# check the result. this is set on by default
assert ret_val
Expand All @@ -63,14 +63,14 @@ def test_is_enabled():
queue_utils = QueueUtils(_queue_name='test')

# get the relay status
ret_val: str = queue_utils.is_relay_enabled()
ret_val: bool = queue_utils.is_relay_enabled()

# recheck the result
assert not ret_val

# recheck the result with a force
# get the relay status
ret_val: str = queue_utils.is_relay_enabled(True)
ret_val: bool = queue_utils.is_relay_enabled(True)

# check the result. this is set on by default
assert ret_val
Expand Down

0 comments on commit 201e1ce

Please sign in to comment.