korv icon indicating copy to clipboard operation
korv copied to clipboard

Add a basic set of KorvServer tests

Open tryexceptpass opened this issue 7 years ago • 0 comments

Using pytest as the test framework, add the basic tests that verify a server instance:

  • [ ] Instantiate KorvServer without errors using newly generated SSH keys.
  • [ ] GET routes execute correctly and respond with valid JSON.
  • [ ] STORE routes execute correctly and respond with valid JSON.
  • [ ] UPDATE routes execute correctly and respond with valid JSON.
  • [ ] DELETE routes execute correctly and respond with valid JSON.
  • [ ] Verify it's not possible to connect with the wrong SSH key.

tryexceptpass avatar Jan 08 '19 04:01 tryexceptpass