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_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')
def test_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')
def test_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')
def test_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')
def test_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')
def test_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')
def test_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')
def test_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')
def test_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')
def test_is_executable_filename():
from covimerage.utils import is_executable_filename
assert is_executable_filename('foo.vim')
assert is_executable_filename('foo.nvim')
assert is_executable_filename('vimrc')
assert is_executable_filename('.vimrc')
assert is_executable_filename('minimal.vimrc')
assert is_executable_filename('another-minimal.vimrc')
assert is_executable_filename('another.minimal.vimrc')
assert is_executable_filename('foo.bar.vim')
assert not is_executable_filename('.hidden.vim')
assert not is_executable_filename('foo.txt')
assert not is_executable_filename('vim')