def _setup(): """Test runner setup. """ tu.setup() term = tu.create_term() pyessv.save(term)
def _setup(): """Test runner setup. """ tu.setup() count = pyessv.get_count() term = tu.create_term() pyessv.save(term) tu.assert_int(pyessv.get_count(), count + 1)
def test_create_01(): """Create term.""" term = tu.create_term() tu.assert_object(term, pyessv.Term) tu.assert_int(pyessv.get_count(), 0)