コード例 #1
0
ファイル: test_attic.py プロジェクト: tgharold/atticmatic
def test_make_check_flags_with_default_checks_returns_no_flags():
    flags = module._make_check_flags(module.DEFAULT_CHECKS)

    assert flags == ()
コード例 #2
0
ファイル: test_attic.py プロジェクト: tgharold/atticmatic
def test_make_check_flags_with_checks_returns_flags():
    flags = module._make_check_flags(('foo', 'bar'))

    assert flags == ('--foo-only', '--bar-only')