Skip to content

Commit

Permalink
add testing for bean-create-samples
Browse files Browse the repository at this point in the history
  • Loading branch information
jykr committed Mar 25, 2024
1 parent 83c3e38 commit fb5aaf6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/test_create.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import pytest
import subprocess

def test_create_screen():
cmd = "bean-create-screen tests/data/var_mini_guides.csv tests/data/var_mini_samples.csv tests/data/var_mini_counts.csv"
try:
subprocess.check_output(
cmd,
shell=True,
universal_newlines=True,
)
except subprocess.CalledProcessError as exc:
raise exc

0 comments on commit fb5aaf6

Please sign in to comment.