From e034ce66107ae89e35f9e152c07f2ae1cfa5f87a Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 3 Oct 2019 14:42:41 -0400
Subject: [PATCH] Give the option of running the tests, sort of.

They fail a lot so leave them disabled.
---
 tahoe-lafs.nix | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tahoe-lafs.nix b/tahoe-lafs.nix
index a0b23d6..de4940d 100644
--- a/tahoe-lafs.nix
+++ b/tahoe-lafs.nix
@@ -37,5 +37,14 @@ python.pkgs.buildPythonPackage rec {
     eliot autobahn cryptography
   ];
 
+  checkInputs = with python.pkgs; [
+    hypothesis
+    testtools
+    fixtures
+  ];
+
+  checkPhase = ''
+    ${python}/bin/python -m twisted.trial -j4 allmydata
+  '';
   doCheck = false;
 }
-- 
GitLab