Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def exists1():
"""foo.py exists"""
check50.exists("foo.py")
def test_file_exists(self):
check50.exists(self.filename)
def exists3():
"""foo.py exists"""
check50.exists("foo.py")
def exists2():
"""foo.py exists"""
check50.exists("foo.py")
def test_file_does_not_exist(self):
with self.assertRaises(check50.Failure):
check50.exists("i_do_not_exist")
def exists5():
"""foo.py exists"""
check50.exists("foo.py")
def exists():
"""hello.c exists"""
check50.exists("hello.c")