Skip to content

Commit

Permalink
[AMDA] increase long request test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandet committed Jun 27, 2022
1 parent 7390321 commit 482c3c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/PRs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
pip install pytest pytest-cov sphinx pandoc
pip install -r docs/requirements.txt
SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=30 SPEASY_LONG_TESTS="" pytest --cov=./ --cov-report=xml
SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=25 SPEASY_LONG_TESTS="" pytest --cov=./ --cov-report=xml
make doctest
- name: Check that release process is not broken
if: matrix.python-version == '3.7'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
pip install pytest pytest-cov sphinx pandoc
pip install -r docs/requirements.txt
SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=30 SPEASY_LONG_TESTS="" pytest --cov=./ --cov-report=xml
SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=25 SPEASY_LONG_TESTS="" pytest --cov=./ --cov-report=xml
make doctest
- name: Check that release process is not broken
if: matrix.python-version == '3.7'
Expand Down
2 changes: 1 addition & 1 deletion tests/test_amda.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_get_variable_long_request(self):
self.skipTest("Long tests disabled")
with self.assertLogs('speasy.webservices.amda.rest_client', level='WARNING') as cm:
start_date = datetime(2021, 1, 1, 0, 0, 0, tzinfo=timezone.utc)
stop_date = datetime(2021, 1, 25, 0, 0, 0, tzinfo=timezone.utc)
stop_date = datetime(2021, 1, 30, 0, 0, 0, tzinfo=timezone.utc)
parameter_id = "mms1_b_gse"
result = spz.amda.get_parameter(parameter_id, start_date, stop_date, disable_proxy=True,
disable_cache=True)
Expand Down

0 comments on commit 482c3c6

Please sign in to comment.