Skip to content

Update OVOS dependencies #98

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

Merged
merged 4 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 6 additions & 6 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@ jobs:
run: |
pytest tests/test_utils.py --doctest-modules --junitxml=tests/utils-test-results.xml
- name: Upload Utils test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: utils-test-results
name: utils-test-results-${{ matrix.python-version }}
path: tests/utils-test-results.xml
- name: Run Connector Tests
run: |
pytest tests/test_connector.py --doctest-modules --junitxml=tests/connector-test-results.xml
# env:
# MQ_TESTING: 1
- name: Upload Connector test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: connector-test-results
name: connector-test-results-${{ matrix.python-version }}
path: tests/connector-test-results.xml
- name: Run Backward Compatibility Tests
run: |
pytest tests/test_backward_compatibility.py --doctest-modules --junitxml=tests/backward-compatibility-test-results.xml
- name: Upload Backward Compatibility test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: backward-compatibility-test-results
name: backward-compatibility-test-results-${{ matrix.python-version }}
path: tests/backward-compatibility-test-results.xml
2 changes: 1 addition & 1 deletion neon_mq_connector/utils/client_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from neon_mq_connector.utils.network_utils import b64_to_dict

_default_mq_config = {
"server": "api.neon.ai",
"server": "mq.neonaiservices.com",
"port": 5672,
"users": {
"mq_handler": {
Expand Down
4 changes: 2 additions & 2 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pika==1.2.0
ovos-config~=0.0.8
ovos-utils>=0.0.32,<0.2.0
ovos-config~=0.0,>=0.0.8
ovos-utils~=0.0,>=0.0.32
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_repeating_timer(self):
self.assertEqual(self.counter, 3)

def test_wait_for_mq_startup(self):
self.assertTrue(wait_for_mq_startup("api.neon.ai", 5672))
self.assertTrue(wait_for_mq_startup("mq.neonaiservices.com", 5672))
self.assertFalse(wait_for_mq_startup("www.neon.ai", 5672, 1))

def setUp(self) -> None:
Expand Down Expand Up @@ -240,5 +240,5 @@ def test_b64_to_dict(self):

def test_check_port_is_open(self):
from neon_mq_connector.utils.network_utils import check_port_is_open
self.assertTrue(check_port_is_open("api.neon.ai", 5672))
self.assertTrue(check_port_is_open("mq.neonaiservices.com", 5672))
self.assertFalse(check_port_is_open("www.neon.ai", 5672))
Loading