Skip to content

Conversation

@AlwinHughes
Copy link
Contributor

@AlwinHughes AlwinHughes commented Jan 5, 2025

I've fixed the unit test for the simple service stop_announce method.
This was broken in my last MR (#23) where we switched from passing a config.Service to a ServiceInstance object to the ServiceAnnouncer announce_service metho.` I think this fixes it.

I'm not very familiar with pytest and I don't really follow why the self.prot line was needed before but it seems to fail the test now so I've removed it.

I've also updated the announce_service test to check the whole service instance object rather than just the service_instance.config object

@AlwinHughes AlwinHughes marked this pull request as ready for review January 5, 2025 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant