Skip to content

Commit

Permalink
Fix HTTPTEST tests
Browse files Browse the repository at this point in the history
  • Loading branch information
albertogeniola committed Apr 17, 2024
1 parent 3ac322d commit 53adc5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-0.4.x.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
id: pytest
env:
MEROSS_EMAIL: ${{ secrets.MEROSS_EMAIL }}
MEROSS_EMAIL_MFA: ${{ secrets.MEROSS_EMAIL_MFA }}
MEROSS_PASSWORD: ${{ secrets.MEROSS_PASSWORD }}
run: |
pip install .
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
id: pytest
env:
MEROSS_EMAIL: ${{ secrets.MEROSS_EMAIL }}
MEROSS_EMAIL_MFA: ${{ secrets.MEROSS_EMAIL_MFA }}
MEROSS_PASSWORD: ${{ secrets.MEROSS_PASSWORD }}
run: |
pip install .
Expand Down
2 changes: 1 addition & 1 deletion tests/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def test_device_listing(self):
@unittest_run_loop
async def test_bad_domain(self):
with self.assertRaises(BadDomainException):
return await MerossHttpClient.async_from_user_password(api_base_url="iot.meross.com", email=_TEST_EMAIL, password=_TEST_PASSWORD, auto_retry_on_bad_domain=False)
return await MerossHttpClient.async_from_user_password(api_base_url="iotx-ap.meross.com", email=_TEST_EMAIL, password=_TEST_PASSWORD, auto_retry_on_bad_domain=False)


@unittest_run_loop
Expand Down

0 comments on commit 53adc5c

Please sign in to comment.