pythonPackages.pytest-remotedata: init at 0.3.1

This commit is contained in:
Chris Ostrouchov 2019-07-15 11:21:59 -04:00 committed by Frederik Rietdijk
parent 5bf65feaaa
commit e175b841f8
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, pytest
}:
buildPythonPackage rec {
pname = "pytest-remotedata";
version = "0.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "15b75a38431da96a4da5e48b20a18e4dcc40d191abc199b17cb969f818530481";
};
propagatedBuildInputs = [
six
pytest
];
checkInputs = [
pytest
];
checkPhase = ''
# these tests require a network connection
pytest --ignore tests/test_strict_check.py
'';
meta = with lib; {
description = "Pytest plugin for controlling remote data access";
homepage = https://astropy.org;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1921,6 +1921,8 @@ in {
pytest-relaxed = callPackage ../development/python-modules/pytest-relaxed { }; pytest-relaxed = callPackage ../development/python-modules/pytest-relaxed { };
pytest-remotedata = callPackage ../development/python-modules/pytest-remotedata { };
pytest-sanic = callPackage ../development/python-modules/pytest-sanic { }; pytest-sanic = callPackage ../development/python-modules/pytest-sanic { };
pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { }; pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { };