Beispiel #1
0
 def test_js_format_date(self):
     exact = Exact(date(2000, 01, 01))
     self.assertEqual(exact.get_js_format(), ["exact", "2000-01-01"])
Beispiel #2
0
 def test_js_format_simple(self):
     exact = Exact(10)
     self.assertEqual(exact.get_js_format(), ["exact", "10"])