Skip to content

Commit

Permalink
#50 ADD: unittest for precis_yy
Browse files Browse the repository at this point in the history
  • Loading branch information
zubair.maalick committed Jul 3, 2020
1 parent 945d39d commit 13e5f96
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/catnip/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,14 @@ def test_convert_to_um_stamp(self):
"""Test eight"""
pass

@unittest.skip("TO DO")

def test_precisYY(self):
"""Test nine"""
pass

self.assertEqual(precis_yy(2001),'k1')
self.assertEqual(precis_yy(1995),'j5')

self.assertRaises(TypeError, precis_yy,'1995')
self.assertRaises(ValueError, precis_yy,12345)

@unittest.skip("TO DO")
def test_precisD2(self):
Expand Down

0 comments on commit 13e5f96

Please sign in to comment.