Module Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier Expr Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad ListLoad Str ListLoad Str ListLoad Num Num Num ListLoad Num Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword 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 Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num keyword BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num keyword BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Print Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr keyword Num If AttributeLoad NameLoad attr body Print BinOpAdd Str Call NameLoad Call AttributeLoad NameLoad attr Print BinOpAdd Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Print Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A datetime django test django_test django.db.models Q services.common misc sn_misc services.common helpers db_tools services.configuration.jrpc.serializers channels channel_serializers services.configuration.jrpc.views rules jrpc_rules services.scheduling.models operational operational_models services.scheduling.jrpc.views.operational slots scheduling_slots 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 JRPCBookingProcessTest N/A N/A django_test TestCase N/A N/A Testing class for the slot information process
     setUp N/A N/A self N/A N/A N/A 
        This method populates the database with some information to be used
        only for this test.
         N/A N/A self __verbose_testing False N/A N/A self __test_slot_id -1 N/A N/A self __sc_1_id xatcobeo-sc N/A N/A self __sc_1_tle_id HUMSAT-D N/A N/A self __sc_1_ch_1_id gmsk-sc-1 N/A N/A self __sc_1_ch_1_f 437000000 N/A N/A self __sc_1_ch_1_cfg N/A N/A channel_serializers FREQUENCY_K N/A channel_serializers MODULATION_K N/A channel_serializers POLARIZATION_K N/A channel_serializers BITRATE_K N/A channel_serializers BANDWIDTH_K 437000000 FM LHCP 300 12.500000000 N/A N/A self __gs_1_id gs-la N/A N/A self __gs_1_ch_1_id gs-la-fm N/A N/A self __gs_1_ch_1_cfg N/A N/A channel_serializers BAND_K N/A channel_serializers AUTOMATED_K N/A channel_serializers MODULATIONS_K N/A channel_serializers POLARIZATIONS_K N/A channel_serializers BITRATES_K N/A channel_serializers BANDWIDTHS_K UHF / U / 435000000.000000 / 438000000.000000 False N/A FM N/A LHCP N/A 300 600 900 N/A 12.5 25.0 N/A N/A self __band N/A N/A db_tools create_band N/A N/A self __user_profile N/A N/A db_tools create_user_profile N/A N/A self __sc_1 N/A N/A db_tools create_sc user_profile N/A self __user_profile identifier N/A self __sc_1_id tle_id N/A self __sc_1_tle_id N/A N/A self __gs_1 N/A N/A db_tools create_gs user_profile N/A self __user_profile identifier N/A self __gs_1_id N/A N/A self __sc_1_ch_1 N/A N/A db_tools sc_add_channel N/A self __sc_1 N/A self __sc_1_ch_1_f N/A self __sc_1_ch_1_id N/A N/A self __gs_1_ch_1 N/A N/A db_tools gs_add_channel N/A self __gs_1 N/A self __band N/A self __gs_1_ch_1_id N/A N/A self __rule_1 N/A N/A jrpc_rules add_rule N/A self __gs_1_id N/A N/A db_tools create_jrpc_daily_rule date_i N/A N/A sn_misc get_today_utc date_f N/A N/A N/A sn_misc get_today_utc N/A N/A datetime timedelta days 50 starting_time N/A N/A N/A sn_misc get_next_midnight N/A N/A datetime timedelta seconds 1 ending_time N/A N/A N/A sn_misc get_next_midnight N/A N/A datetime timedelta hours 23 minutes 59 seconds 59 N/A test_test_slot N/A N/A self N/A N/A N/A JRPC test: services.scheduling.getSlot (SLOT -1)
        Basic TEST slot test
         N/A N/A self __verbose_testing N/A N/A ##### test_test_slot N/A s_time N/A N/A sn_misc get_now_utc no_microseconds True N/A e_time N/A s_time N/A N/A datetime timedelta hours 2 N/A N/A self __verbose_testing N/A N/A N/A s_time =  N/A str N/A N/A s_time isoformat N/A N/A e_time =  N/A str N/A N/A e_time isoformat N/A N/A N/A self assertEquals N/A N/A scheduling_slots get_slot N/A self __test_slot_id N/A state gs_username sc_username starting_time ending_time TEST diego.nodar@humsat.org alberto.gonzalez@humsat.org N/A N/A s_time isoformat N/A N/A e_time isoformat N/A test_get_next_slot N/A N/A self N/A N/A N/A JRPC test: services.scheduling.slot.next
         N/A N/A self __verbose_testing N/A N/A ##### test_get_next_slot N/A N/A N/A self assertEquals N/A N/A scheduling_slots get_next_slot NonExistent N/A N/A N/A N/A self assertIsNotNone N/A N/A scheduling_slots get_next_slot test@test.test N/A N/A