Skip to content

Commit

Permalink
added test infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBackman committed Nov 28, 2017
1 parent 745f2b4 commit 2b65b89
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
[metadata]
description-file = README.md

[aliases]
test=pytest

[tool:pytest]
addopts = --verbose
python_files = tests/*.py
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@
license='see license.txt file',
download_url = 'https://github.com/JBEI/limitfluxtocore/archive/1.0.tar.gz',
keywords = ['metabolism', 'flux'],
classifiers = []
classifiers = [],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
)
2 changes: 1 addition & 1 deletion tests/testLFTC.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import cobra
import cobra.test
from lftc import limitFluxToCore
import lftc

def test_limitFluxToCore():
model = cobra.test.create_test_model("ecoli")
Expand Down

0 comments on commit 2b65b89

Please sign in to comment.