Skip to content

Commit

Permalink
Agrego tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fcassanello committed Sep 13, 2019
1 parent 7a4c999 commit 83ec01c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import vcr
from nose.tools import assert_true, assert_false, assert_equal

from pydatajson.indicators import _eventual_periodicity

try:
import mock
except ImportError:
Expand Down Expand Up @@ -624,3 +626,8 @@ def test_federation_indicators_by_id(self):

for k, v in expected.items():
assert_equal(indicators[k], v)

def test_eventual_periodicity(self):
assert_true(_eventual_periodicity('eventual'))
assert_true(_eventual_periodicity('EVENTUAL'))
assert_false(_eventual_periodicity('not eventual'))

0 comments on commit 83ec01c

Please sign in to comment.