-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe687a5
commit 49a9217
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
) |