flexget: enable tests
This commit is contained in:
parent
e38c47ddd4
commit
6925b07db9
@ -17,13 +17,20 @@ buildPythonPackage rec {
|
|||||||
sha256 = "925e6bf62dfae73194dbf8b963ff2b60fb500f2457463b744086706da94dabd7";
|
sha256 = "925e6bf62dfae73194dbf8b963ff2b60fb500f2457463b744086706da94dabd7";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Requires vcrpy
|
doCheck = true;
|
||||||
doCheck = false;
|
# test_regexp requires that HOME exist, test_filesystem requires a
|
||||||
|
# unicode-capable filesystem (and setting LC_ALL doesn't work).
|
||||||
|
# setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i '/def test_non_ascii/i\ import pytest\
|
||||||
|
@pytest.mark.skip' flexget/tests/test_filesystem.py
|
||||||
|
'';
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
export HOME=.
|
||||||
py.test
|
py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ pytest mock ];
|
buildInputs = [ pytest mock vcrpy pytest-catchlog boto3 ];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
feedparser sqlalchemy pyyaml
|
feedparser sqlalchemy pyyaml
|
||||||
beautifulsoup4 html5lib pyrss2gen pynzb
|
beautifulsoup4 html5lib pyrss2gen pynzb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user