1{ buildPythonPackage 2, oslo-config 3, oslotest 4, stestr 5}: 6 7buildPythonPackage rec { 8 pname = "oslotest-tests"; 9 inherit (oslotest) version; 10 11 src = oslotest.src; 12 13 postPatch = '' 14 # only a small portion of the listed packages are actually needed for running the tests 15 # so instead of removing them one by one remove everything 16 rm test-requirements.txt 17 ''; 18 19 dontBuild = true; 20 dontInstall = true; 21 22 checkInputs = [ 23 oslotest 24 oslo-config 25 stestr 26 ]; 27 28 checkPhase = '' 29 stestr run 30 ''; 31}