repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git]
/
pkgs
/
development
/
python-modules
/
oslotest
/
tests.nix
blob
f80073e1c1bd14b155d7ddb89f2be3bfe70ef362
1
{ buildPythonPackage
2
, oslo-config
3
, oslotest
4
, stestr
5
}:
6
7
buildPythonPackage {
8
pname = "oslotest-tests";
9
inherit (oslotest) version src;
10
format = "other";
11
12
postPatch = ''
13
# only a small portion of the listed packages are actually needed for running the tests
14
# so instead of removing them one by one remove everything
15
rm test-requirements.txt
16
'';
17
18
dontBuild = true;
19
dontInstall = true;
20
21
nativeCheckInputs = [
22
oslotest
23
oslo-config
24
stestr
25
];
26
27
checkPhase = ''
28
stestr run
29
'';
30
}