Skip to content

Commit

Permalink
e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorjerse committed Nov 6, 2024
1 parent fe687a5 commit 49a9217
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Empty file.
28 changes: 28 additions & 0 deletions tests/functional/predictions/e2e_predictions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import os

from ..base import BaseResdkFunctionalTest
from ..docs.e2e_docs import TEST_FILES_DIR


class TestPredictions(BaseResdkFunctionalTest):
def setUp(self):
super().setUp()
self.collection = self.res.collection.create(name="Test collection")

self.geneset = None

def tearDown(self):
# self.geneset is deleted along with collection
self.collection.delete(force=True)

def test_predictions(self):
reads = self.res.run(
slug="upload-fastq-single",
input={"src": os.path.join(TEST_FILES_DIR, "reads.fastq.gz")},
collection=self.collection.id,
)
sample = reads.sample
group = self.res.prediction_group.create(
name="Test prediction group",
sort_order=1
)

0 comments on commit 49a9217

Please sign in to comment.