added test for api version

This commit is contained in:
Kevin Froman 2020-09-07 05:13:36 +00:00
parent 104f71c0c3
commit d40bd85368
2 changed files with 4 additions and 1 deletions

View file

@ -12,6 +12,9 @@ from utils import identifyhome, createdirs
from etc import onionrvalues
class TestOnionrValues(unittest.TestCase):
def test_api_version(self):
self.assertEqual(onionrvalues.API_VERSION, '1')
def test_default_expire(self):
self.assertEqual(onionrvalues.DEFAULT_EXPIRE, 2678400)