aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/api_files.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-05 14:40:07 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-05 14:40:10 -0700
commit282c38de521da379a2ea6407c6ff72e21f09c65c (patch)
tree4ea905441b60565ae2cf4760649e292cb1fc9e80 /python/tests/api_files.py
parentc87befeff80f609e0890ec608d9e65186ae528e8 (diff)
downloadfatcat-282c38de521da379a2ea6407c6ff72e21f09c65c.tar.gz
fatcat-282c38de521da379a2ea6407c6ff72e21f09c65c.zip
python tests: verify array sort order
In a couple cases (eg, filesets), had made tests agnostic to sort order, because the sort order was not stable. In other cases, simply small cleanups and comment improvements.
Diffstat (limited to 'python/tests/api_files.py')
-rw-r--r--python/tests/api_files.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/tests/api_files.py b/python/tests/api_files.py
index 443fe63f..8f9caf3e 100644
--- a/python/tests/api_files.py
+++ b/python/tests/api_files.py
@@ -18,6 +18,10 @@ def test_file(api):
url="https://web.archive.org/web/12345542/something.com/blah.pdf",
rel="webarchive",
),
+ FileUrl(
+ url="https://something.com/blah.pdf",
+ rel="web",
+ ),
],
release_ids=[],
extra=dict(a=2, b=5),