Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
benne238 committed Jan 7, 2021
1 parent 949d5ee commit c0855ef
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions api/pytest/test_api_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ def test_ECNQueue_getQueueCounts():
# 'number_of_items': _int}
for queue in queueCounts:
assert type(queue) is dict

# Ensure that the number of name key exists with a string value
assert "name" in queue.keys()
assert type(queue['name']) is str

# Ensure that the number_of_items queues key exists with an int value
assert "number_of_items" in queue.keys()
assert type(queue['number_of_items']) is int

@pytest.mark.ECNQueue_loadQueue
def test_ECNQueue_loadQueue():
@pytest.mark.ECNQueue_loadQueues
def test_ECNQueue_loadQueues():

queues = ECNQueue.loadQueues()

Expand Down

0 comments on commit c0855ef

Please sign in to comment.