コード例 #1
0
 def test_get_ledger_section_entry_combinations(self):
     combos = get_ledger_section_entry_combinations(self.domain)
     self.assertEqual(
         self.expected_combos,
         {(combo.section_id, combo.entry_id) for combo in combos}
     )
コード例 #2
0
 def test_get_ledger_section_entry_combinations(self):
     combos = get_ledger_section_entry_combinations(self.domain)
     self.assertEqual(self.expected_combos,
                      {(combo.section_id, combo.entry_id)
                       for combo in combos})