Example #1
0
 def test_get_ventures_with_subventures(self):
     ventures = Devices._get_ventures(self.venture, use_subventures=True)
     self.assertEquals(ventures, [self.venture, self.subventure])
 def test_get_ventures_with_subventures(self):
     ventures = Devices._get_ventures(self.venture, use_subventures=True)
     self.assertEquals(ventures, [self.venture, self.subventure])
Example #3
0
 def test_get_ventures(self):
     ventures = Devices._get_ventures(self.venture, use_subventures=False)
     self.assertEquals(ventures, [self.venture])
 def test_get_ventures(self):
     ventures = Devices._get_ventures(self.venture, use_subventures=False)
     self.assertEquals(ventures, [self.venture])