Esempio n. 1
0
 def test_time_representation(self):
     df = DateFormatter()
     self.assertIsNotNone(df)
     result = df.time_representation()
     self.assertIsNotNone(result)
     self.assertRegex(result, r"\d{2}:\d{2}:\d{2}")
Esempio n. 2
0
 def get_value(self, client_context, value=None):
     formatter = DateFormatter()
     return formatter.time_representation()