Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Transcript sequence extractor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zavolan_group
tools
Transcript sequence extractor
Commits
5f9aa7fd
Commit
5f9aa7fd
authored
2 years ago
by
Samuel Mondal
Browse files
Options
Downloads
Patches
Plain Diff
Add actual tests to the test file
parent
515f1f94
No related branches found
No related tags found
1 merge request
!65
Add actual tests to the test file
Pipeline
#14925
failed
2 years ago
Stage: build
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test_exon_concatenation.py
+7
-1
7 additions, 1 deletion
tests/test_exon_concatenation.py
tests/test_poly_a.py
+10
-1
10 additions, 1 deletion
tests/test_poly_a.py
with
17 additions
and
2 deletions
tests/test_exon_concatenation.py
+
7
−
1
View file @
5f9aa7fd
import
pytest
import
exon_concatenation
from
exon_concatenation
test_fasta_1
=
"
test_files/test_1.fa
"
test_fasta_2
=
"
test_files/test_2.fa
"
def
test_exon_concatenation
():
assert
exon_concatenation
(
test_fasta_1
)
==
expected_list_of_tuples
assert
exon_concatenation
(
test_fasta_2
)
==
expected
This diff is collapsed.
Click to expand it.
tests/test_poly_a.py
+
10
−
1
View file @
5f9aa7fd
import
pytest
from
poly_a
import
poly_a_generator
,
poly_a_addition_to_fasta_list
def
test_poly_a_generator
():
assert
poly_a_generator
(
exon_string
)
==
exon_and_polya
def
test_poly_a_addition_to_fasta_list
():
assert
poly_a_addition_to_fasta_list
(
list_of_tuples
)
==
manipulated_list_of_tuples
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment