def test_case_expand_twice(scenario): t = ToxMoleculeCase(scenario) t1 = t.expand_python("4.1") t2 = t1.expand_ansible("1.0") assert t2.get_name() == "ansible10-py41-my_test"
def test_case_expand_python(scenario): t = ToxMoleculeCase(scenario) ts = t.expand_python("4.1") assert ts.python == "4.1" assert ts.get_name() == "py41-my_test" assert ts.basepython == "python4.1"