Skip to content

Commit

Permalink
improve unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
9nix00 committed Aug 5, 2016
1 parent 027f7d2 commit 822a726
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.5.1
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ python:
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
# command to install dependencies
install: "pip install -r requirements.txt"
install:
- "pip install -r requirements.txt"
- "pip install ."
# command to run tests
script: nosetests
script:
- "python test/parser.py"
6 changes: 5 additions & 1 deletion test/parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from unittest import TestCase
from unittest import TestCase, main
import argparse
import os
import cliez
Expand Down Expand Up @@ -61,3 +61,7 @@ def test_ok_with_config(self):
pass

pass


if __name__ == '__main__':
main()

0 comments on commit 822a726

Please sign in to comment.