lol

python-packages/poezio: Fix tests

Poezio doesn't install the files required for running the tests, but
also while building with Nix we don't end up getting valid shared
objects within the temporary build directory.

So we now running "make test" (which does "py.test -v test/") with a
PYTHONPATH that adds the /poezio directory of the path in site-packages
to make sure that the test runner is able to import the shared objects.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @lancelotsix

aszlig 2a12e9da 313b8862

+4
+4
pkgs/top-level/python-packages.nix
··· 24472 24472 buildInputs = with self; [ pytest ]; 24473 24473 propagatedBuildInputs = with self ; [ aiodns slixmpp pyinotify potr ]; 24474 24474 24475 + checkPhase = '' 24476 + PYTHONPATH="$PYTHONPATH:$out/${python.sitePackages}/poezio" make test 24477 + ''; 24478 + 24475 24479 patches = 24476 24480 let patch_base = ../development/python-modules/poezio; 24477 24481 in [ "${patch_base}/make_default_config_writable.patch" ];