Example #1
0
 def test_twilight_exposur2(self):
     brecon = setup()
     now = datetime(2016,4,6,19,20)
     exposure = set_exposure(brecon, now)
     assert exposure == NIGHT_EXP/10.
Example #2
0
 def test_twilight_exposure(self):
     brecon = setup()
     now = datetime(2016,4,6,19,0)
     exposure = set_exposure(brecon, now)
     assert exposure == DAY_EXP