enable pytest
This commit is contained in:
parent
a2b1ff0271
commit
b122d76307
3 changed files with 3 additions and 10 deletions
|
@ -400,7 +400,8 @@ rec {
|
|||
name = "${pname}-${version}";
|
||||
src = ./.;
|
||||
propagatedBuildInputs = python_deps;
|
||||
doCheck = false;
|
||||
checkInputs = [ python.pkgs.pytest ];
|
||||
checkPhase = "pytest";
|
||||
};
|
||||
|
||||
# the main functions
|
||||
|
|
|
@ -16,14 +16,6 @@ rec {
|
|||
};
|
||||
doCheck = false;
|
||||
};
|
||||
toml = python.pkgs.buildPythonPackage {
|
||||
name = "toml-0.10.1";
|
||||
src = fetchurl {
|
||||
url = "https://files.pythonhosted.org/packages/da/24/84d5c108e818ca294efe7c1ce237b42118643ce58a14d2462b3b2e3800d5/toml-0.10.1.tar.gz";
|
||||
sha256 = "926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f";
|
||||
};
|
||||
doCheck = false;
|
||||
};
|
||||
tree-format = python.pkgs.buildPythonPackage {
|
||||
name = "tree-format-0.1.2";
|
||||
src = fetchurl {
|
||||
|
@ -35,4 +27,5 @@ rec {
|
|||
|
||||
packaging = python.pkgs.packaging;
|
||||
setuptools = python.pkgs.setuptools;
|
||||
toml = python.pkgs.toml;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
[pytest]
|
||||
addopts = -ra -q
|
||||
testpaths =
|
||||
mach_nix/tests
|
||||
|
|
Loading…
Reference in a new issue