Skip to content

Commit

Permalink
Merge pull request #493 from Deborah-Digges/test-case-correct_invalid…
Browse files Browse the repository at this point in the history
…_value

Update test_retriever.py 
testing for correct_invalid_value
  • Loading branch information
henrykironde committed May 23, 2016
2 parents a848012 + af0ed9d commit 85d9e01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ def test_correct_invalid_value_string():
def test_correct_invalid_value_number():
assert correct_invalid_value(-999, {'nulls': ['NA', '-999']}) == None

def test_correct_invalid_value_exception():
assert correct_invalid_value(-999, {}) == -999

def test_create_db_statement():
"""Test creating the create database SQL statement"""
assert test_engine.create_db_statement() == 'CREATE DATABASE test_abc'
Expand Down

0 comments on commit 85d9e01

Please sign in to comment.