Skip to content

Commit b7bb378

Browse files
authored
Merge pull request #64 from ocefpaf/test
Test
2 parents e1ce2fd + b515a6c commit b7bb378

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

pyoos/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import (absolute_import, division, print_function)
22

3-
__version__ = '0.8.0'
3+
__version__ = '0.8.1'
44

55
# Package level logger
66
import logging

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def run_tests(self):
4949
author = 'Kyle Wilcox',
5050
author_email = 'kyle@axiomdatascience.com',
5151
url = 'https://github.com/ioos/pyoos.git',
52-
packages = find_packages(),
52+
packages = find_packages(exclude=['tests.*', 'tests']),
5353
install_requires = reqs,
5454
tests_require = ['pytest'],
5555
cmdclass = {'test': PyTest},

tests/collectors/test_awc_rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from __future__ import (absolute_import, division, print_function)
22

33
import unittest
4+
import pytest
5+
46
from pyoos.collectors.awc.awc_rest import AwcRest
57
from paegan.cdm.dsg.collections.station_collection import StationCollection
68

@@ -10,7 +12,9 @@ class AwcRestTest(unittest.TestCase):
1012
def setUp(self):
1113
self.c = AwcRest()
1214

15+
@pytest.mark.xfail
1316
def test_nwc_stations(self):
17+
# See https://github.com/ioos/pyoos/issues/63
1418
stations = self.c.stations
1519
assert stations[0] == 'AGGH'
1620
assert stations[-1] == 'ZYTX'

0 commit comments

Comments
 (0)