Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_first_word():
assert setupmeta.relative_path(None) is None
assert setupmeta.relative_path("") == ""
assert setupmeta.relative_path("foo") == "foo"
assert setupmeta.first_word(None) is None
assert setupmeta.first_word("") is None
assert setupmeta.first_word(" \n \t ") is None
assert setupmeta.first_word(" \n \t foo[bar]") == "foo"
assert setupmeta.first_word("FOO bar") == "foo"
assert setupmeta.first_word(" FOO, bar") == "foo"
assert setupmeta.first_word("123") == "123"
def test_first_word():
assert setupmeta.relative_path(None) is None
assert setupmeta.relative_path("") == ""
assert setupmeta.relative_path("foo") == "foo"
assert setupmeta.first_word(None) is None
assert setupmeta.first_word("") is None
assert setupmeta.first_word(" \n \t ") is None
assert setupmeta.first_word(" \n \t foo[bar]") == "foo"
assert setupmeta.first_word("FOO bar") == "foo"
assert setupmeta.first_word(" FOO, bar") == "foo"
assert setupmeta.first_word("123") == "123"
def test_first_word():
assert setupmeta.relative_path(None) is None
assert setupmeta.relative_path("") == ""
assert setupmeta.relative_path("foo") == "foo"
assert setupmeta.first_word(None) is None
assert setupmeta.first_word("") is None
assert setupmeta.first_word(" \n \t ") is None
assert setupmeta.first_word(" \n \t foo[bar]") == "foo"
assert setupmeta.first_word("FOO bar") == "foo"
assert setupmeta.first_word(" FOO, bar") == "foo"
assert setupmeta.first_word("123") == "123"
def test_first_word():
assert setupmeta.relative_path(None) is None
assert setupmeta.relative_path("") == ""
assert setupmeta.relative_path("foo") == "foo"
assert setupmeta.first_word(None) is None
assert setupmeta.first_word("") is None
assert setupmeta.first_word(" \n \t ") is None
assert setupmeta.first_word(" \n \t foo[bar]") == "foo"
assert setupmeta.first_word("FOO bar") == "foo"
assert setupmeta.first_word(" FOO, bar") == "foo"
assert setupmeta.first_word("123") == "123"
def test_first_word():
assert setupmeta.relative_path(None) is None
assert setupmeta.relative_path("") == ""
assert setupmeta.relative_path("foo") == "foo"
assert setupmeta.first_word(None) is None
assert setupmeta.first_word("") is None
assert setupmeta.first_word(" \n \t ") is None
assert setupmeta.first_word(" \n \t foo[bar]") == "foo"
assert setupmeta.first_word("FOO bar") == "foo"
assert setupmeta.first_word(" FOO, bar") == "foo"
assert setupmeta.first_word("123") == "123"
def test_first_word():
assert setupmeta.relative_path(None) is None
assert setupmeta.relative_path("") == ""
assert setupmeta.relative_path("foo") == "foo"
assert setupmeta.first_word(None) is None
assert setupmeta.first_word("") is None
assert setupmeta.first_word(" \n \t ") is None
assert setupmeta.first_word(" \n \t foo[bar]") == "foo"
assert setupmeta.first_word("FOO bar") == "foo"
assert setupmeta.first_word(" FOO, bar") == "foo"
assert setupmeta.first_word("123") == "123"
def test_first_word():
assert setupmeta.relative_path(None) is None
assert setupmeta.relative_path("") == ""
assert setupmeta.relative_path("foo") == "foo"
assert setupmeta.first_word(None) is None
assert setupmeta.first_word("") is None
assert setupmeta.first_word(" \n \t ") is None
assert setupmeta.first_word(" \n \t foo[bar]") == "foo"
assert setupmeta.first_word("FOO bar") == "foo"
assert setupmeta.first_word(" FOO, bar") == "foo"
assert setupmeta.first_word("123") == "123"