Пример #1
0
 def test_find_date_find_match(self):
     self.assertEqual(
         arbeitcli.find_date({'dates': {'2014-01-01': 'found'}}, '2014-01-01'),
         'found'
     )
Пример #2
0
 def test_find_date_returns_empty(self):
     self.assertEqual(arbeitcli.find_date({}, "2014-01-01"), self.empty_date)