How to use the covimerage.utils.is_executable_filename function in covimerage

To help you get started, we’ve selected a few covimerage examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Vimjas / covimerage / tests / test_utils.py View on Github external
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')
github Vimjas / covimerage / tests / test_utils.py View on Github external
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')
github Vimjas / covimerage / tests / test_utils.py View on Github external
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')
github Vimjas / covimerage / tests / test_utils.py View on Github external
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')
github Vimjas / covimerage / tests / test_utils.py View on Github external
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')
github Vimjas / covimerage / tests / test_utils.py View on Github external
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')
github Vimjas / covimerage / tests / test_utils.py View on Github external
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')
github Vimjas / covimerage / tests / test_utils.py View on Github external
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')
github Vimjas / covimerage / tests / test_utils.py View on Github external
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')
github Vimjas / covimerage / tests / test_utils.py View on Github external
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')