Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/v2/test_domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ def test_invalid_resolution(self, test_domain):

class TestListDomains:
def test_list_domains(self, test_domain):
domains = list_domains()
# Sort newest-first so the just-created domain lands on the first page
# regardless of how many domains the account already has.
domains = list_domains(sort_by="created_on", sort_order="descending")
assert test_domain.id in [domain.id for domain in domains]

def test_sorting(self, test_domain):
Expand Down
Loading