From cdfd6b85b386b7bbf9d5a5179ef26970b6e5a4e7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 2 Nov 2021 18:13:14 -0700 Subject: fmt (black): tests/ --- python/tests/api_containers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python/tests/api_containers.py') diff --git a/python/tests/api_containers.py b/python/tests/api_containers.py index 0f6c85b1..d6fd421a 100644 --- a/python/tests/api_containers.py +++ b/python/tests/api_containers.py @@ -1,4 +1,3 @@ - import pytest from fatcat_openapi_client import * from fixtures import * @@ -63,6 +62,7 @@ def test_container(api): c2 = api.get_container(c2.ident) assert c2.state == "deleted" + def test_container_bad_idents(api): # all the fields! @@ -81,9 +81,10 @@ def test_container_bad_idents(api): with pytest.raises(ValueError): c1.issne = "asdf-hhhh" + def test_container_examples(api): - c1 = api.get_container('aaaaaaaaaaaaaeiraaaaaaaaam') + c1 = api.get_container("aaaaaaaaaaaaaeiraaaaaaaaam") assert c1.name == "PLOS Medicine" assert c1.issnl == "1549-1277" assert c1.issne == "1549-1676" -- cgit v1.2.3