Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Call AttributeLoad NameLoad attr Dict Str Str Str Str Str NameLoad NameLoad NameLoad Str Dict Str Dict Str ListLoad Dict Str Str Str Str Str Str Str Str ListLoad Str Str Num Dict Str Str Str Str Str Str Str Str ListLoad Str Str Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Call AttributeLoad NameLoad attr Dict Str Str Str Str Str NameLoad NameLoad NameLoad Str Dict Str Dict Str ListLoad Dict Str Str Str Str Str Str Str Str ListLoad Str Str Num keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Call AttributeLoad NameLoad attr Dict Str Str Str Str Str NameLoad NameLoad NameLoad Str Dict Str Dict Str ListLoad Dict Str Str Str Str Str Str Str Str ListLoad Str Str Num Dict Str Str Str Str Str Str Str Str ListLoad Str Str Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Call AttributeLoad NameLoad attr Dict Str Str Str Str Str NameLoad NameLoad NameLoad Str Dict Str Dict Str ListLoad Dict Str Str Str Str Str Str Str Str ListLoad Str Str Num keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call AttributeLoad Str attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr attr Assign NameStore ListComp TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list Call NameLoad Str Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list Call NameLoad Str Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str
N/A uuid uuid4 mock patch oslo_serialization jsonutils nailgun.db.sqlalchemy.models Release nailgun.test.base BaseIntegrationTest nailgun.utils reverse TestHandlers N/A BaseIntegrationTest N/A test_release_list_empty N/A N/A self N/A N/A N/A resp N/A N/A N/A self app get N/A reverse ReleaseCollectionHandler headers N/A self default_headers N/A N/A N/A self assertEqual 200 N/A resp status_code N/A N/A N/A self assertEqual N/A N/A resp json_body N/A test_release_creation N/A N/A self N/A N/A N/A resp N/A N/A N/A self app post N/A reverse ReleaseCollectionHandler params N/A N/A jsonutils dumps N/A name version operating_system Another test release 1.0 CentOS headers N/A self default_headers N/A N/A N/A self assertEqual N/A resp status_code 201 N/A test_release_create N/A N/A self N/A N/A N/A release_name OpenStack N/A release_version 1.0.0 N/A release_description This is test release N/A resp N/A N/A N/A self app post N/A reverse ReleaseCollectionHandler N/A N/A jsonutils dumps N/A name version description operating_system networks_metadata release_name release_version release_description CentOS N/A nova_network N/A networks N/A N/A name cidr gateway ip_range vlan_start storage 192.168.1.0/24 192.168.1.1 N/A 192.168.1.1 192.168.1.254 102 N/A name cidr gateway ip_range vlan_start management 10.0.0.0/16 10.0.0.1 N/A 10.0.0.2 10.0.255.254 103 headers N/A self default_headers N/A N/A N/A self assertEqual N/A resp status_code 201 N/A resp N/A N/A N/A self app post N/A reverse ReleaseCollectionHandler N/A N/A jsonutils dumps N/A name version description operating_system networks_metadata release_name release_version release_description CentOS N/A nova_network N/A networks N/A N/A name cidr gateway ip_range vlan_start management 10.0.0.0/16 10.0.0.1 N/A 10.0.0.2 10.0.255.254 103 headers N/A self default_headers expect_errors True N/A N/A N/A self assertEqual N/A resp status_code 409 N/A release_from_db N/A N/A N/A N/A N/A N/A N/A self db query Release filter_by name release_name version release_version description release_description all N/A N/A N/A self assertEqual N/A len release_from_db 1 N/A test_release_create_already_exist N/A N/A self N/A N/A N/A release_name OpenStack N/A release_version 1.0.0 N/A release_description This is test release N/A resp N/A N/A N/A self app post N/A reverse ReleaseCollectionHandler N/A N/A jsonutils dumps N/A name version description operating_system networks_metadata release_name release_version release_description CentOS N/A nova_network N/A networks N/A N/A name cidr gateway ip_range vlan_start storage 192.168.1.0/24 192.168.1.1 N/A 192.168.1.1 192.168.1.254 102 N/A name cidr gateway ip_range vlan_start management 10.0.0.0/16 10.0.0.1 N/A 10.0.0.2 10.0.255.254 103 headers N/A self default_headers N/A N/A N/A self assertEqual N/A resp status_code 201 N/A resp N/A N/A N/A self app post N/A reverse ReleaseCollectionHandler N/A N/A jsonutils dumps N/A name version description operating_system networks_metadata release_name release_version release_description CentOS N/A nova_network N/A networks N/A N/A name cidr gateway ip_range vlan_start management 10.0.0.0/16 10.0.0.1 N/A 10.0.0.2 10.0.255.254 103 headers N/A self default_headers expect_errors True N/A N/A N/A self assertEqual N/A resp status_code 409 N/A N/A ReleaseCollectionSortBaseTest N/A BaseIntegrationTest N/A N/A releases N/A N/A expected N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ReleaseCollectionSortBaseTest self setUp N/A r N/A self releases N/A N/A N/A N/A N/A self env create_release N/A version operating_system name N/A r N/A 0 N/A r N/A 1 N/A N/A release_name_{0} format N/A uuid4 N/A test_release_collection_order N/A N/A self N/A N/A N/A resp N/A N/A N/A N/A self app get N/A reverse ReleaseCollectionHandler headers N/A self default_headers json_body N/A actual N/A N/A N/A r N/A version N/A r N/A operating_system N/A r resp N/A N/A N/A self assertEqual actual N/A self expected N/A N/A TestReleaseCollectionSortingAllCriteria N/A ReleaseCollectionSortBaseTest N/A N/A releases N/A N/A 2014.1-6.0 Ubuntu N/A 2014.2-5.1.1 Ubuntu N/A 2013.2.1-5.1 CentOS N/A 2013.2.1-5.1 Debian N/A 2014.3 Ubuntu N/A 2013.2 CentOS N/A 2013.2 Ubuntu N/A 2014.3-7.0 CentOS N/A 2014.1.3-5.1.1 CentOS N/A 2013.2-5.0 CentOS N/A 2014.3 CentOS N/A 2014.2-6.0 Ubuntu N/A 2013.2.1-5.1 Fedora N/A 2014.2-6.1 CentOS N/A 2014.2-6.0 CentOS N/A 2014.2-5.1.1 CentOS N/A 2013.2.1-5.1 Ubuntu N/A 2013.2-4.0 Ubuntu N/A 2014.3 Arch N/A 2014.2.2-6.0 CentOS N/A 2014.1-5.1.1 Ubuntu N/A expected N/A N/A 2014.3-7.0 CentOS N/A 2014.2-6.1 CentOS N/A 2014.2.2-6.0 CentOS N/A 2014.2-6.0 Ubuntu N/A 2014.2-6.0 CentOS N/A 2014.1-6.0 Ubuntu N/A 2014.2-5.1.1 Ubuntu N/A 2014.2-5.1.1 CentOS N/A 2014.1.3-5.1.1 CentOS N/A 2014.1-5.1.1 Ubuntu N/A 2013.2.1-5.1 Ubuntu N/A 2013.2.1-5.1 CentOS N/A 2013.2.1-5.1 Debian N/A 2013.2.1-5.1 Fedora N/A 2013.2-5.0 CentOS N/A 2013.2-4.0 Ubuntu N/A 2014.3 Ubuntu N/A 2014.3 CentOS N/A 2014.3 Arch N/A 2013.2 Ubuntu N/A 2013.2 CentOS N/A N/A patch nailgun.objects.release.settings.DEFAULT_REPO N/A N/A dict fromkeys N/A centos ubuntu arch debian fedora TestReleaseCollectionSortByFuelVersion N/A ReleaseCollectionSortBaseTest N/A N/A releases N/A N/A -7.1 CentOS N/A -7.0 CentOS N/A -6.0 CentOS N/A -6 CentOS N/A expected N/A N/A -7.1 CentOS N/A -7.0 CentOS N/A -6.0 CentOS N/A -6 CentOS N/A TestReleaseCollectionSortByOpenstack N/A ReleaseCollectionSortBaseTest N/A N/A releases N/A N/A 2013.2 Ubuntu N/A 2011.1- Ubuntu N/A 2014.3- Ubuntu N/A 2012.3- Ubuntu N/A 2013.4- Ubuntu N/A expected N/A N/A 2014.3- Ubuntu N/A 2013.4- Ubuntu N/A 2013.2 Ubuntu N/A 2012.3- Ubuntu N/A 2011.1- Ubuntu N/A TestReleaseCollectionSortByOS N/A ReleaseCollectionSortBaseTest N/A N/A releases N/A N/A X Debian N/A X Fedora N/A X Arch N/A X CentOS N/A X Ubuntu N/A expected N/A N/A X Ubuntu N/A X CentOS N/A X Arch N/A X Debian N/A X Fedora N/A N/A patch nailgun.objects.release.settings.DEFAULT_REPO N/A N/A dict fromkeys N/A centos ubuntu arch debian fedora