refactor(test): rename method.
This commit is contained in:
		| @@ -77,12 +77,12 @@ class TestJarReconcliation(TestCase): | ||||
|         self.purchase4 = purchase4 | ||||
|  | ||||
|     def test_create_reconciliation_jar(self): | ||||
|         reconciliation = self._create_reconciliation() | ||||
|         reconciliation = self._create_simple_reconciliation() | ||||
|         self.assertTrue(isinstance(reconciliation, ReconciliationJar)) | ||||
|  | ||||
|     def test_get_purchases_for_reconciliation(self): | ||||
|         # link purchase to reconciliation to exclude from list | ||||
|         reconciliation = self._create_reconciliation() | ||||
|         reconciliation = self._create_simple_reconciliation() | ||||
|         self.purchase3.reconciliation = reconciliation | ||||
|         self.purchase3.clean() | ||||
|         self.purchase3.save() | ||||
| @@ -101,7 +101,7 @@ class TestJarReconcliation(TestCase): | ||||
|         self.assertNotIn(str(37*72500), rawContent) | ||||
|         self.assertIn(str(47*72500), rawContent) | ||||
|  | ||||
|     def _create_reconciliation(self): | ||||
|     def _create_simple_reconciliation(self): | ||||
|         reconciliation = ReconciliationJar() | ||||
|         reconciliation.date_time = "2024-07-30" | ||||
|         reconciliation.cash_taken = 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user