forked from auxolotl/core
temove tests that depend on pkgs
This commit is contained in:
parent
5fc6685efe
commit
3b9a7b9277
|
@ -432,7 +432,6 @@ runTests {
|
||||||
"${builtins.storeDir}/d945ibfx9x185xf04b890y4f9g3cbb63-python-2.7.11";
|
"${builtins.storeDir}/d945ibfx9x185xf04b890y4f9g3cbb63-python-2.7.11";
|
||||||
in {
|
in {
|
||||||
storePath = isStorePath goodPath;
|
storePath = isStorePath goodPath;
|
||||||
storePathDerivation = isStorePath (import ../.. { system = "x86_64-linux"; }).hello;
|
|
||||||
storePathAppendix = isStorePath
|
storePathAppendix = isStorePath
|
||||||
"${goodPath}/bin/python";
|
"${goodPath}/bin/python";
|
||||||
nonAbsolute = isStorePath (concatStrings (tail (stringToCharacters goodPath)));
|
nonAbsolute = isStorePath (concatStrings (tail (stringToCharacters goodPath)));
|
||||||
|
@ -446,7 +445,6 @@ runTests {
|
||||||
};
|
};
|
||||||
expected = {
|
expected = {
|
||||||
storePath = true;
|
storePath = true;
|
||||||
storePathDerivation = true;
|
|
||||||
storePathAppendix = false;
|
storePathAppendix = false;
|
||||||
nonAbsolute = false;
|
nonAbsolute = false;
|
||||||
asPath = true;
|
asPath = true;
|
||||||
|
@ -506,11 +504,6 @@ runTests {
|
||||||
expected = true;
|
expected = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
testHasInfixDerivation = {
|
|
||||||
expr = hasInfix "hello" (import ../.. { system = "x86_64-linux"; }).hello;
|
|
||||||
expected = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
testHasInfixPath = {
|
testHasInfixPath = {
|
||||||
expr = hasInfix "tests" ./.;
|
expr = hasInfix "tests" ./.;
|
||||||
expected = true;
|
expected = true;
|
||||||
|
|
Loading…
Reference in a new issue