korv icon indicating copy to clipboard operation
korv copied to clipboard

Add a basic set of KorvClient tests

Open tryexceptpass opened this issue 7 years ago • 0 comments

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

  • [ ] Instantiate KorvClient connecting to a local server without errors using newly generated SSH keys.
  • [ ] GET responses complete with the proper callback.
  • [ ] STORE responses complete with the proper callback and with no callback.
  • [ ] UPDATE responses complete with the proper callback and with no callback.
  • [ ] DELETE responses complete with the proper callback and with no callback.
  • [ ] Connection fails with the incorrect host address or port.
  • [ ] Connection fails with the incorrect SSH key.

tryexceptpass avatar Jan 08 '19 04:01 tryexceptpass