from clearinghouse.tests import mocklib from clearinghouse.common.api import maindb from clearinghouse.common.exceptions import * from clearinghouse.common.util import validations from clearinghouse.website.control import interface from clearinghouse.website.tests import testutil import unittest mocklib.mock_lockserver_calls() class SeattleGeniTestCase(unittest.TestCase): def setUp(self): # Setup a fresh database for each test. testlib.setup_test_db() def tearDown(self): # Cleanup the test database. testlib.teardown_test_db() def test_regenerate_user_key(self): pubkey = "1 2" privkey = "3 4 5"
from clearinghouse.common.api import maindb from clearinghouse.common.exceptions import * from clearinghouse.website.control import interface from clearinghouse.website.tests import testutil import unittest mocklib.mock_lockserver_calls() class SeattleGeniTestCase(unittest.TestCase): def setUp(self): # Setup a fresh database for each test. testlib.setup_test_db() def tearDown(self):