Skip to content

Tests refactoring #1293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 37 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d5363e3
Added basic integration tests for all endpoints
dmytrotsko Jul 20, 2023
9d99885
Added base class for tests. Added API keys tests
dmytrotsko Jul 21, 2023
544ba94
Added TESTING_MODE to the ci.yaml, removed from Makefile
dmytrotsko Jul 21, 2023
9eed497
Updated acquisition tests with missing api_key creation
dmytrotsko Jul 26, 2023
da2a6a6
Update src/server/_config.py
dmytrotsko Sep 19, 2023
3b6b652
Update integrations/server/test_delphi.py
dmytrotsko Sep 19, 2023
b134408
Update integrations/server/test_meta.py
dmytrotsko Sep 20, 2023
15177ac
Requested changes from PR's comments
dmytrotsko Sep 21, 2023
9e4a332
Moved test_meta_norostat to test_norostat.py
dmytrotsko Sep 21, 2023
80c355c
Remove test_meta_norostat.py as this test was moved to test_norostat.py
dmytrotsko Sep 22, 2023
5e3210f
Update integrations/server/test_api_keys.py
dmytrotsko Sep 22, 2023
dca4c0b
Update integrations/server/test_norostat.py
dmytrotsko Sep 22, 2023
27f66a4
Update src/common/integration_test_base_class.py
dmytrotsko Sep 22, 2023
d9d83f3
Update integrations/server/test_norostat.py
dmytrotsko Sep 22, 2023
386c348
Remove usage of PHP alias in the Python client
rzats Sep 19, 2023
591059c
Post review tweaks
rzats Sep 22, 2023
66257b2
Adjusted tests to use new API url
dmytrotsko Sep 25, 2023
4259294
Changed base test class, renamed class name
dmytrotsko Sep 26, 2023
f1f9744
Changed base class name. Replaced Epidata usage with local class object.
dmytrotsko Sep 26, 2023
8538532
Renamed test_utils.py to covidcast_test_base.py and moved it to src/c…
dmytrotsko Sep 26, 2023
e0c370d
Replaced localSetUp with setUp in order to uselocalSetUp in covidcast…
dmytrotsko Sep 26, 2023
6fa0072
Replaced base class to CovidcastTestBase, removed unnecessary code fr…
dmytrotsko Sep 26, 2023
dcc31b1
Moved super().setUp() call to the end of the method.
dmytrotsko Sep 26, 2023
0466420
Replaced CovidcastBase with new CovidcastTestBase. Removed duplicated…
dmytrotsko Sep 26, 2023
9e601c4
Changed base class for CovidcastTestBase.
dmytrotsko Sep 26, 2023
c5f74d6
Removed unused import
dmytrotsko Sep 26, 2023
7ecae27
Replaced base class, removed unused imports, replaced Epidata client …
dmytrotsko Sep 26, 2023
ae07c0f
Fixed import
dmytrotsko Sep 26, 2023
d3fa119
Fixed import
dmytrotsko Sep 26, 2023
d01df1f
Fixed wrong import
dmytrotsko Sep 26, 2023
eba110b
Changed base class. Removed unncessary code. Replaced Epidata calls w…
dmytrotsko Sep 26, 2023
236e87d
Removed epidata client auth set
dmytrotsko Sep 26, 2023
92fcefd
Changed base class. Removed unnecessary code.
dmytrotsko Sep 26, 2023
105be04
Fix wrong import
dmytrotsko Sep 26, 2023
7bdf683
Replace unittest.TestCase with custom base class. Remove unnecessary …
dmytrotsko Sep 27, 2023
987d990
Final adjustments
dmytrotsko Sep 28, 2023
a2377f4
Fixed ght test
dmytrotsko Oct 2, 2023
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
Prev Previous commit
Next Next commit
Update integrations/server/test_meta.py
Remove extra newline

Co-authored-by: melange396 <george.haff@gmail.com>
  • Loading branch information
dmytrotsko and melange396 committed Oct 2, 2023
commit b134408bfdbde99c316ae244079a2c2cf24834cc
1 change: 0 additions & 1 deletion integrations/server/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def setUp(self) -> None:
super().setUp()

def test_meta(self):

"""Basic integration test for meta endpoint"""
response = self.epidata.meta()
self.assertEqual(
Expand Down