Skip to content

Commit

Permalink
Merge pull request #64 from ocefpaf/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
daf committed Aug 24, 2016
2 parents e1ce2fd + b515a6c commit b7bb378
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyoos/__init__.py
@@ -1,6 +1,6 @@
from __future__ import (absolute_import, division, print_function)

__version__ = '0.8.0'
__version__ = '0.8.1'

# Package level logger
import logging
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -49,7 +49,7 @@ def run_tests(self):
author = 'Kyle Wilcox',
author_email = 'kyle@axiomdatascience.com',
url = 'https://github.com/ioos/pyoos.git',
packages = find_packages(),
packages = find_packages(exclude=['tests.*', 'tests']),
install_requires = reqs,
tests_require = ['pytest'],
cmdclass = {'test': PyTest},
Expand Down
4 changes: 4 additions & 0 deletions tests/collectors/test_awc_rest.py
@@ -1,6 +1,8 @@
from __future__ import (absolute_import, division, print_function)

import unittest
import pytest

from pyoos.collectors.awc.awc_rest import AwcRest
from paegan.cdm.dsg.collections.station_collection import StationCollection

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

@pytest.mark.xfail
def test_nwc_stations(self):
# See https://github.com/ioos/pyoos/issues/63
stations = self.c.stations
assert stations[0] == 'AGGH'
assert stations[-1] == 'ZYTX'
Expand Down

0 comments on commit b7bb378

Please sign in to comment.