Module Expr Str Assign NameStore Str Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Str decorator_list decorator_list
N/A N/A 
   Copyright 2013, 2014 Ricardo Tubio-Pardavila

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 N/A __author__ rtubiopa@calpoly.edu N/A logging django test services.common helpers db_tools services.leop views leop_views TestLeopViews N/A N/A test TestCase N/A N/A Test class for the LEOP views.
     setUp N/A N/A self N/A N/A N/A N/A self __verbose_testing False N/A N/A self __sc_id humsat-d N/A N/A self __ufo_id object-111 N/A N/A self __user_1 N/A N/A db_tools create_user_profile N/A N/A self __user_2 N/A N/A db_tools create_user_profile username User2 N/A N/A self __request_1 N/A N/A db_tools create_request user_profile N/A self __user_1 N/A N/A self __request_2 N/A N/A db_tools create_request user_profile N/A self __user_2 N/A N/A self __sc N/A N/A db_tools create_sc user_profile N/A self __user_1 identifier N/A self __sc_id N/A N/A self __ufo N/A N/A db_tools create_sc user_profile N/A self __user_2 identifier N/A self __ufo_id is_ufo True N/A N/A self __admin N/A N/A db_tools create_user_profile username user_admin email admin@satnet.org is_staff True N/A N/A self __request_3 N/A N/A db_tools create_request user_profile N/A self __admin N/A N/A self __cluster N/A N/A db_tools create_launch admin N/A self __admin N/A N/A N/A self __verbose_testing N/A N/A N/A N/A N/A N/A logging getLogger leop setLevel level N/A logging CRITICAL N/A test_get_queryset N/A N/A self N/A N/A N/A Unit test: services.leop - view processing
        Simply checks this method of the LeopManagementView since it had to
        be implemented slightly different than what expected beforehand.
         N/A cm N/A N/A leop_views LaunchManagementView N/A N/A cm request N/A self __request_1 N/A qs N/A N/A cm get_queryset N/A N/A N/A self assertEqual N/A len qs 0 No LEOPs should be owned by user 1. N/A N/A cm request N/A self __request_3 N/A qs_2 N/A N/A cm get_queryset N/A N/A N/A self assertEqual N/A len qs_2 1 1 LEOP should be owned by user 2. N/A N/A