def test_organise_allocations_tree(self): allocations_tree = AllocationRequest.organise_allocations_tree() self.assertEquals(3, len(allocations_tree)) self.assertEquals( 'USQ eResearch Services Sandbox', allocations_tree['09']['0999']['099901'][0]['projectName']) self.assertEquals( 'USQ eResearch Services Sandbox', allocations_tree['07']['0701']['070104'][0]['projectName']) self.assertEquals( 'UoM_Trajectory_Inference_Attacks', allocations_tree['08']['0801']['080109'][0]['projectName'])
def test_organise_allocations_tree(self): allocations_tree = AllocationRequest.organise_allocations_tree() self.assertEquals(3, len(allocations_tree)) self.assertEquals('USQ eResearch Services Sandbox', allocations_tree['09']['0999'] ['099901'][0]['projectName']) self.assertEquals('USQ eResearch Services Sandbox', allocations_tree['07']['0701'] ['070104'][0]['projectName']) self.assertEquals('UoM_Trajectory_Inference_Attacks', allocations_tree['08']['0801'] ['080109'][0]['projectName'])