Skip to content

Commit

Permalink
Add Running Client Tests message to Auth Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice Jacques committed May 14, 2024
1 parent 975cd47 commit 4dd56c0
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions tests/tests_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def setUpClass(cls):
cls.count = dict()

print(
f"Running Client tests\n"
f"Running Basic Client Tests\n"
f' against Server: "{urlparse(serverurl).netloc}"\n'
f" comparing to: {exp.__name__}\n"
f" showact={showact}\n"
Expand Down Expand Up @@ -621,6 +621,14 @@ def setUpClass(cls):
cls.client = sparcl.client.SparclClient(
url=serverurl, verbose=clverb, show_curl=showcurl
)
print(
f"Running Align Records Client Tests\n"
f' against Server: "{urlparse(serverurl).netloc}"\n'
f" comparing to: {exp.__name__}\n"
f" showact={showact}\n"
f" showcurl={showcurl}\n"
f" client={cls.client}\n"
)
found = cls.client.find(
constraints={"data_release": ["BOSS-DR16"]}, limit=20
)
Expand Down Expand Up @@ -732,7 +740,14 @@ def setUpClass(cls):
cls.client = sparcl.client.SparclClient(
url=serverurl, verbose=clverb, show_curl=showcurl
)

print(
f"Running Auth Client Tests\n"
f' against Server: "{urlparse(serverurl).netloc}"\n'
f" comparing to: {exp.__name__}\n"
f" showact={showact}\n"
f" showcurl={showcurl}\n"
f" client={cls.client}\n"
)
cls.outflds = ["sparcl_id", "data_release"]
cls.inc = ["data_release", "flux"]

Expand Down

0 comments on commit 4dd56c0

Please sign in to comment.