Skip to content

Commit

Permalink
need some research on testing main and write files
Browse files Browse the repository at this point in the history
  • Loading branch information
CNuge committed Mar 11, 2020
1 parent c5e818a commit 0c4c1a4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 11 deletions.
Binary file modified alfie/tests/__pycache__/test_script.cpython-37-pytest-5.2.1.pyc
Binary file not shown.
Binary file modified alfie/tests/__pycache__/test_seqio.cpython-37-pytest-5.2.1.pyc
Binary file not shown.
8 changes: 0 additions & 8 deletions alfie/tests/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,3 @@ def test_argparser():
assert out2.classes == 'kingdoms'


def test_cli_script():
""" pass different argument sets to the main function and test behavior."""

#error if no file specified
with pytest.raises(ValueError):
alf.main()

#need to do a setup?
4 changes: 1 addition & 3 deletions alfie/tests/test_seqio.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

#import os

import os
import types
import pytest
Expand Down Expand Up @@ -51,6 +48,7 @@ def test_outfile_builder():
os.rmdir("alfie_out")
os.rmdir("diff_place")


def test_fasta_reader():
""" Test the fasta reader functions."""
fasta_read = read_fasta(ex_fasta_file)
Expand Down

0 comments on commit 0c4c1a4

Please sign in to comment.