def test_product_strings(): assert pytest1.product('Hello ',3) == 'Hello Hello Hello ' result = pytest1.product('Hello ') assert result == 'Hello Hello ' assert type(result) is str assert 'Hello' in result
def test_product(): assert pytest1.product(5, 3) == 15 assert pytest1.product(7) == 14