Пример #1
0
def test_no_wmafiles():
	listing = tools.file_listing('virtualmusic/W', ['wma'])
	assert listing == []
Пример #2
0
def test_no_wmafiles():
    listing = tools.file_listing('virtualmusic/W', ['wma'])
    assert listing == []
Пример #3
0
def test_file_listing():
	exts = ['.py']
	listing = tools.file_listing('.', exts)
	assert './mock.py' in listing
	assert './tests.py' in listing
	assert './tests.pyc' not in listing
Пример #4
0
def test_file_listing():
    exts = ['.py']
    listing = tools.file_listing('.', exts)
    assert './mock.py' in listing
    assert './tests.py' in listing
    assert './tests.pyc' not in listing