def test_ignore_urls(self): assert get_package_versions(["https://www.google.com"]) == {}
def test_ignore_includes(self): assert get_package_versions(["-r example.txt"]) == {}
def test_ignore_comments(self): assert get_package_versions(["# Comment"]) == {}
def test_ignore_empty(self): assert get_package_versions([""]) == {}
def test_version(self): assert get_package_versions(["package1==1.0", "package2==1.1"]) == { "package1": "1.0", "package2": "1.1", }
def test_version(self): assert get_package_versions(['package1==1.0', 'package2==1.1']) == {'package1': '1.0', 'package2': '1.1'}