Skip to content

Commit

Permalink
added tox and basic import test
Browse files Browse the repository at this point in the history
  • Loading branch information
natecox committed Apr 9, 2015
1 parent f50d237 commit c627a74
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import unittest


class ShipStationTests(unittest.TestCase):

def test_shipstation_imports_correctly(self):
from shipstation.api import ShipStation
ShipStation('123', '456')
12 changes: 12 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py27

[testenv]
commands = nosetests {posargs}
deps =
nose

0 comments on commit c627a74

Please sign in to comment.