def test_doubleit_tpye(self): with pytest.raises(TypeError): myApp.doubleit("hello")
def test_doubleit_value(self): assert myApp.doubleit(10) == 20