def test_package_has_custom_str_repr(valid_package): current_package = Package(valid_package) assert current_package.__repr__() == "<Package safe-math-lib==1.0.0>"
def test_package_has_custom_str_repr(valid_package_id): current_package = Package(valid_package_id) assert current_package.__repr__() == "<Package wallet==1.0.0>"