Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Add two tests for Flask. #18

Closed
barik opened this issue May 5, 2021 · 0 comments · Fixed by #19
Closed

Add two tests for Flask. #18

barik opened this issue May 5, 2021 · 0 comments · Fixed by #19

Comments

@barik
Copy link
Contributor

barik commented May 5, 2021

Add two tests for flask. The first test is test_syntaxerror_request that shows what MACER would return on a program with an syntax error. The second test is test_noerror_request, that shows what MACER would return with no errors.

You can use:

pytest --disable-pytest-warnings .\test_server.py

to run the tests. The --disable-pytest-warnings is there to suppress TensorFlow deprecation warnings.

The branch name is tbarik/unittest.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant