File tree Expand file tree Collapse file tree 3 files changed +57
-1
lines changed
development/python-modules Expand file tree Collapse file tree 3 files changed +57
-1
lines changed Original file line number Diff line number Diff line change 88 fetchFromGitHub ,
99 packaging ,
1010 pytest ,
11+ pytest-plus ,
12+ pytest-sugar ,
13+ pytest-xdist ,
1114 pytestCheckHook ,
1215 pythonOlder ,
1316 setuptools ,
@@ -44,6 +47,9 @@ buildPythonPackage rec {
4447 ansible-core
4548 ansible-compat
4649 packaging
50+ pytest-plus
51+ pytest-sugar
52+ pytest-xdist
4753 ] ;
4854
4955 nativeCheckInputs = [ pytestCheckHook ] ;
@@ -55,6 +61,8 @@ buildPythonPackage rec {
5561 enabledTestPaths = [ "tests/" ] ;
5662
5763 disabledTests = [
64+ # pytest unrecognized arguments in test_pool.py
65+ "test_ansible_test"
5866 # Host unreachable in the inventory
5967 "test_become"
6068 # [Errno -3] Temporary failure in name resolution
@@ -89,6 +97,9 @@ buildPythonPackage rec {
8997 homepage = "https://github.com/jlaska/pytest-ansible" ;
9098 changelog = "https://github.com/ansible-community/pytest-ansible/releases/tag/${ src . tag } " ;
9199 license = licenses . mit ;
92- maintainers = with maintainers ; [ tjni ] ;
100+ maintainers = with maintainers ; [
101+ tjni
102+ robsliwi
103+ ] ;
93104 } ;
94105}
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ pytestCheckHook ,
6+ pythonOlder ,
7+ setuptools ,
8+ setuptools-scm ,
9+ } :
10+
11+ buildPythonPackage rec {
12+ pname = "pytest-plus" ;
13+ version = "0.8.1" ;
14+ pyproject = true ;
15+
16+ disabled = pythonOlder "3.10" ;
17+
18+ src = fetchFromGitHub {
19+ owner = "pytest-dev" ;
20+ repo = "pytest-plus" ;
21+ tag = "v${ version } " ;
22+ hash = "sha256-XlEtekOASIjZretTbQAf0eyQN6qZ9c6zI1ESss/hxfI=" ;
23+ } ;
24+
25+ build-system = [
26+ setuptools
27+ setuptools-scm
28+ ] ;
29+
30+ nativeCheckInputs = [ pytestCheckHook ] ;
31+
32+ enabledTestPaths = [ "test/" ] ;
33+
34+ pythonImportsCheck = [ "pytest_plus" ] ;
35+
36+ meta = with lib ; {
37+ description = "pytest-plus adds new features to pytest" ;
38+ homepage = "https://github.com/pytest-dev/pytest-plus" ;
39+ changelog = "https://github.com/pytest-dev/pytest-plus/releases/tag/${ src . tag } " ;
40+ license = licenses . mit ;
41+ maintainers = with maintainers ; [ robsliwi ] ;
42+ } ;
43+ }
Original file line number Diff line number Diff line change @@ -14397,6 +14397,8 @@ self: super: with self; {
1439714397
1439814398 pytest-plt = callPackage ../development/python-modules/pytest-plt { };
1439914399
14400+ pytest-plus = callPackage ../development/python-modules/pytest-plus { };
14401+
1440014402 pytest-pook = callPackage ../development/python-modules/pytest-pook { };
1440114403
1440214404 pytest-postgresql = callPackage ../development/python-modules/pytest-postgresql { };
You can’t perform that action at this time.
0 commit comments