Skip to content
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

Add more functional tests #34

Open
jschaeff opened this issue Apr 3, 2023 · 1 comment
Open

Add more functional tests #34

jschaeff opened this issue Apr 3, 2023 · 1 comment

Comments

@jschaeff
Copy link
Collaborator

jschaeff commented Apr 3, 2023

Wherever there is logic in the code, we should test that it does what it should.

For instance the restriction function with those use cases:

  • node with default policy OPEN, network without restriction inversion
  • node with default policy OPEN, network with restriction inversion
  • node with default policy CLOSED, network with restriction inversion
  • node with default policy CLOSED, network without restriction inversion
@vpet98
Copy link
Contributor

vpet98 commented Apr 4, 2023

How can I skip the authentication part that the methods include to test all these? I cannot acquire a token at testing time. Shall I change the code to accept a parameter testing=True/False?

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

No branches or pull requests

2 participants