Skip to content

Commit 8f65915

Browse files
author
Zach Moody
committed
Update tests to reflect explicit 0 limit
1 parent 90492f0 commit 8f65915

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

tests/test_circuits.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_get_all(self):
3434
"http://localhost:8000/api/{}/{}/".format(
3535
self.app, self.name.replace("_", "-")
3636
),
37-
params={},
37+
params={"limit": 0},
3838
json=None,
3939
headers=HEADERS,
4040
)
@@ -51,7 +51,7 @@ def test_filter(self):
5151
"http://localhost:8000/api/{}/{}/".format(
5252
self.app, self.name.replace("_", "-")
5353
),
54-
params={"name": "test"},
54+
params={"name": "test", "limit": 0},
5555
json=None,
5656
headers=HEADERS,
5757
)

tests/test_tenancy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_get_all(self):
3535
"http://localhost:8000/api/{}/{}/".format(
3636
self.app, self.name.replace("_", "-")
3737
),
38-
params={},
38+
params={"limit": 0},
3939
json=None,
4040
headers=HEADERS,
4141
)
@@ -52,7 +52,7 @@ def test_filter(self):
5252
"http://localhost:8000/api/{}/{}/".format(
5353
self.app, self.name.replace("_", "-")
5454
),
55-
params={"name": "test"},
55+
params={"name": "test", "limit": 0},
5656
json=None,
5757
headers=HEADERS,
5858
)

tests/test_users.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_get_all(self):
3535
"http://localhost:8000/api/{}/{}/".format(
3636
self.app, self.name.replace("_", "-")
3737
),
38-
params={},
38+
params={"limit": 0},
3939
json=None,
4040
headers=HEADERS,
4141
)
@@ -52,7 +52,7 @@ def test_filter(self):
5252
"http://localhost:8000/api/{}/{}/".format(
5353
self.app, self.name.replace("_", "-")
5454
),
55-
params={"name": "test"},
55+
params={"name": "test", "limit": 0},
5656
json=None,
5757
headers=HEADERS,
5858
)

tests/test_virtualization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_get_all(self):
3535
"http://localhost:8000/api/{}/{}/".format(
3636
self.app, self.name.replace("_", "-")
3737
),
38-
params={},
38+
params={"limit": 0},
3939
json=None,
4040
headers=HEADERS,
4141
)
@@ -52,7 +52,7 @@ def test_filter(self):
5252
"http://localhost:8000/api/{}/{}/".format(
5353
self.app, self.name.replace("_", "-")
5454
),
55-
params={"name": "test"},
55+
params={"name": "test", "limit": 0},
5656
json=None,
5757
headers=HEADERS,
5858
)

0 commit comments

Comments
 (0)