Пример #1
0
 def test_summary_all_props_table(self):
     oh = tbls.create_observation_history(self.metadata)
     sh = tbls.create_slew_history(self.metadata)
     sfs = tbls.create_slew_final_state(self.metadata)
     ph = tbls.create_observation_proposal_history(self.metadata)
     p = tbls.create_proposal(self.metadata)
     f = tbls.create_field(self.metadata)
     summary = tbls.create_summary_all_props(self.metadata, oh, sh, sfs, p, ph, f)
     self.assertEqual(len(summary.c), 36)
Пример #2
0
 def test_create_slew_final_state_table(self):
     slew_state = tbls.create_slew_final_state(self.metadata)
     self.assertEqual(len(slew_state.c), 17)
     self.assertEqual(len(slew_state.indexes), 1)