Пример #1
0
 def test_get_param_date_e(self):
   test = '20150815'
   util.get_param_date(test)
Пример #2
0
 def test_get_param_date(self):
   test = '2015-08-15'
   actual = util.get_param_date(test)
   from datetime import datetime
   assert actual == datetime(2015,8,15,0,0)