Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/s/y/synnefo-HEAD/snf-tools/synnefo_tools/burnin/cyclades_common.py   synnefo(Download)
    def _parse_flavors(self):
        """Find flavors given to command line"""
        flavors = self._get_list_of_flavors(detail=True)
 
        if self.flavors is None:

src/s/y/synnefo-HEAD/snf-tools/synnefo_tools/burnin/images_tests.py   synnefo(Download)
    def test_001_simple_flavors(self):
        """Test flavor list actually returns flavors"""
        self.simple_flavors = self._get_list_of_flavors(detail=False)
        self.assertGreater(len(self.simple_flavors), 0)
 
    def test_002_get_detailed_flavors(self):
        """Test detailed flavor list is the same length as list"""
        self.detailed_flavors = self._get_list_of_flavors(detail=True)