about summary refs log tree commit diff
path: root/tests/test_pyhegp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pyhegp.py')
-rw-r--r--tests/test_pyhegp.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_pyhegp.py b/tests/test_pyhegp.py
index 0ddba99..52a6238 100644
--- a/tests/test_pyhegp.py
+++ b/tests/test_pyhegp.py
@@ -22,6 +22,7 @@ from click.testing import CliRunner
 from hypothesis import given, settings, strategies as st
 from hypothesis.extra.numpy import arrays, array_shapes
 import numpy as np
+import pytest
 from pytest import approx
 
 from pyhegp.pyhegp import Stats, main, hegp_encrypt, hegp_decrypt, random_key, pool_stats, standardize, unstandardize
@@ -104,6 +105,14 @@ def test_conservation_of_solutions(genotype, phenotype):
             == np.linalg.solve(hegp_encrypt(genotype, key),
                                hegp_encrypt(phenotype, key)))
 
+@pytest.mark.xfail
+def test_simple_workflow():
+    result = CliRunner().invoke(main,
+                                ["encrypt",
+                                 "-o", "encrypted-genotype.tsv",
+                                 "test-data/genotype.tsv"])
+    assert result.exit_code == 0
+
 def test_joint_workflow(tmp_path):
     runner = CliRunner()
     for i in range(4):