Browse Source

fixes #10 and closes #12

pull/18/head
theycallmemac 3 years ago
parent
commit
f096df1477
3 changed files with 5 additions and 3 deletions
  1. +4
    -0
      .travis.yml
  2. +0
    -2
      setup.py
  3. +1
    -1
      tests/test_available_now.py

+ 4
- 0
.travis.yml View File

@@ -1,5 +1,6 @@
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
@@ -8,3 +9,6 @@ install:

script:
- python tests/test_available_now.py

notifications:
email: false

+ 0
- 2
setup.py View File

@@ -17,9 +17,7 @@ setup(name='dcurooms',
'Natural Language :: English',
'License :: GPL-3.0 License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'


+ 1
- 1
tests/test_available_now.py View File

@@ -8,7 +8,7 @@ sys.path.append('../')

class AvailableNowTestCase(unittest.TestCase):
def test_options(self):
available_result = os.system("cd scripts/ && python3 dcurooms.py -anC > ../tests/available_output.txt")
available_result = os.system("cd scripts/ && python dcurooms.py -anC > ../tests/available_output.txt")
self.assertTrue(available_result == 0)

def test_available_output(self):


Loading…
Cancel
Save