Example #1
0
 def test_is_at_night(self, ):
     from mappings.timings import is_at_night
     self.assertTrue(is_at_night() == 1,
         "Not properly calculating is_at_night")
Example #2
0
 def test_is_at_night(self):
     logging.basicConfig(level=logging.DEBUG)
     print ( "Is at nigh? it says: %s" % is_at_night())