Skip to content

Commit c440be1

Browse files
committed
Updated TestContact class to address test issues
1 parent 853578b commit c440be1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/contacts/test_contact_tcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_refresh_without_socket_errors(self, event_loop):
4141
class TestContact:
4242

4343
def test_tcp_contact(self, event_loop):
44-
self.services = {'data_svc': mock.Mock(), 'knowledge_svc': mock.Mock(), 'contact_svc': mock.Mock(), 'planning_svc': mock.Mock(), 'rest_svc': mock.Mock(), 'auth_svc': mock.Mock(), 'file_svc': mock.Mock(), 'learning_svc': mock.Mock(), 'event_svc': mock.Mock(), 'app_svc': mock.Mock()}
44+
self.services = app_svc.get_services()
4545
tcp_c2 = Contact(services=self.services)
4646
event_loop.run_until_complete(tcp_c2.start())
4747
assert tcp_c2 is not None

0 commit comments

Comments
 (0)