Exemplo n.º 1
0
    def test_normalize_datestring(self):
        """Test datestring utility"""

        self.assertIsInstance(normalize_datestring(2013), str)

        with self.assertRaises(RuntimeError):
            self.assertIsInstance(normalize_datestring(None), str)
Exemplo n.º 2
0
    def test_normalize_datestring(self):
        """Test datestring utility"""

        date_value = normalize_datestring(2013)
        self.assertIsInstance(date_value, str)
Exemplo n.º 3
0
    def test_normalize_datestring(self):
        """Test datestring utility"""

        date_value = normalize_datestring(2013)
        self.assertIsInstance(date_value, str)