Exemple #1
0
def _setup():
	"""Test runner setup.

	"""
	tu.setup()
	term = tu.create_term()
	pyessv.save(term)
Exemple #2
0
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)
Exemple #3
0
 def test_create_01():
     """Create term."""
     term = tu.create_term()
     tu.assert_object(term, pyessv.Term)
     tu.assert_int(pyessv.get_count(), 0)