Exemple #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.
Exemple #2
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.
Exemple #3
0
 def test_twilight_exposure(self):
     brecon = setup()
     now = datetime(2016,4,6,19,0)
     exposure = set_exposure(brecon, now)
     assert exposure == DAY_EXP
Exemple #4
0
 def test_twilight_exposure(self):
     brecon = setup()
     now = datetime(2016, 4, 6, 19, 0)
     exposure = set_exposure(brecon, now)
     assert exposure == DAY_EXP