Skip to content
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

Integration tests refactoring #1307

Open
wants to merge 63 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
e59aeac
Remove usage of PHP alias in the Python client
rzats Sep 19, 2023
b5128f0
Post review tweaks
rzats Sep 22, 2023
c65095e
removed 'api.php' from comments where not appropriate
melange396 Sep 23, 2023
3d8b827
Merge branch 'dev' into rzatserkovnyi/api-php-refactor
rzats Sep 26, 2023
05e2b84
Refactor?
rzats Sep 27, 2023
6e7190f
Add pypi changelog
rzats Sep 27, 2023
4513ced
Extra test for compat endpoint
rzats Sep 27, 2023
832b25c
Use del
rzats Sep 27, 2023
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
9eb559c
revert to previous behavior, and mark deprecated ( not fully tested)
melange396 Oct 2, 2023
3f5e1a6
also revert tests
melange396 Oct 2, 2023
15e4987
Merge latest dev changes
rzats Oct 3, 2023
5f0b521
test_api_keys tweak
rzats Oct 3, 2023
cd665bd
Fix failing test
rzats Oct 3, 2023
65d1587
More test tweaks
rzats Oct 4, 2023
1f9bf19
Merge pull request #1295 from cmu-delphi/revert_deprecate_async_epidata
melange396 Oct 4, 2023
e701cb6
changelog update
melange396 Oct 5, 2023
fefc088
changelog update (formatting)
melange396 Oct 5, 2023
b527347
Remove public_route
rzats Oct 5, 2023
7e59806
Sync integration_tests with rzatserkovnyi/api-php-refactor
dmytrotsko Oct 11, 2023
c97adad
Removed unnecessary tests debugging options
dmytrotsko Oct 11, 2023
3dfdea6
Removed comment
dmytrotsko Oct 12, 2023
1677629
Moved params to the top of the test case
dmytrotsko Oct 12, 2023
6df302d
Merge branch 'dev' into integration_tests_refactoring
dmytrotsko Oct 12, 2023
f2fe087
Resolved conflict
dmytrotsko Oct 30, 2023
474e702
Merge branch 'dev' into integration_tests_refactoring
dmytrotsko Jan 11, 2024
b333c65
Merge branch 'dev' into integration_tests_refactoring
dmytrotsko Jan 11, 2024
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>
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
@@ -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(