Module Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Print BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num FunctionDef arguments args defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call NameLoad keyword Num Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Expr Call NameLoad NameLoad keyword Num keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Num keyword Num keyword Num Assign NameStore TupleLoad Num Str NameLoad For NameStore NameLoad body With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Num keyword Num keyword Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Str keyword Num keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign NameStore TupleLoad BinOpAdd NameLoad Num Num Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign NameStore Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub NameLoad Call NameLoad keyword Num Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call NameLoad keyword Num Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call NameLoad keyword BinOpSub Num Num Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Num Str Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpSub AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr BinOpSub NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Str keyword Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad keyword BinOpSub NameLoad Call NameLoad keyword Num Assign NameStore TupleLoad Str Num Num NameLoad Assign NameStore TupleLoad Str Num Num NameLoad Assign NameStore TupleLoad Str NameLoad For NameStore NameLoad body With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword NameLoad keyword Num keyword Num For NameStore NameLoad body With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Num keyword NameLoad keyword Num For NameStore NameLoad body With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Num keyword Num keyword NameLoad Assign NameStore BinOpMult Str BinOpAdd AttributeLoad NameLoad attr Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call NameLoad keyword Num Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call NameLoad keyword BinOpSub Num Num Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword Num keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Num Str Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpSub AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr BinOpSub NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad Str Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad keyword BinOpSub NameLoad Call NameLoad keyword Num Assign NameStore TupleLoad Num Str For NameStore NameLoad body With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Str keyword SubscriptLoad NameLoad Index Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num keyword Num keyword Num keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Str keyword SubscriptLoad NameLoad Index Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A sys N/A unittest datetime datetime timedelta flask.ext.sqlalchemy BaseQuery controller c3bottles db model.drop_point DropPoint model.location Location model.capacity Capacity model.report Report model.visit Visit N/A N/A Tests running with Python %s.%s N/A N/A N/A sys version_info N/A 0 N/A N/A sys version_info N/A 1 load_config N/A N/A N/A N/A N/A N/A N/A c3bottles config N/A SQLALCHEMY_DATABASE_URI sqlite:// N/A N/A N/A c3bottles config N/A TESTING True N/A C3bottlesModelTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A load_config N/A N/A self c3bottles N/A N/A c3bottles test_client N/A N/A N/A db create_all N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A db session remove N/A N/A N/A db drop_all N/A test_drop_point_construction N/A N/A self N/A N/A N/A dp_number 1 N/A time N/A N/A N/A datetime today N/A timedelta hours 1 N/A description somewhere N/A lat 20 N/A lng 10 N/A level 2 N/A crate_count 3 N/A dp N/A DropPoint dp_number time time description description lat lat lng lng level level crates crate_count N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A db session query DropPoint get dp_number dp Drop point from DB session is not drop point created. N/A N/A N/A self assertEqual N/A dp number dp_number Wrong drop point number N/A N/A N/A self assertFalse N/A dp removed Drop point is removed. N/A N/A N/A self assertIsInstance N/A dp reports BaseQuery Reports are not a query object. N/A N/A N/A self assertFalse N/A N/A N/A dp reports all Drop point has reports. N/A N/A N/A self assertIsInstance N/A dp visits BaseQuery Visits are not a query object. N/A N/A N/A self assertFalse N/A N/A N/A dp visits all Drop point has visits. N/A N/A N/A self assertIsInstance N/A N/A dp locations N/A 0 Location Drop point has no Location object. N/A N/A N/A self assertIsInstance N/A N/A dp capacities N/A 0 Capacity Drop point has no Capacity object. N/A N/A N/A self assertEqual N/A dp time time Drop point creation time not as expected. N/A N/A N/A self assertEqual N/A N/A N/A dp locations N/A 0 description description Location description not as expected. N/A N/A N/A self assertEqual N/A N/A N/A dp locations N/A 0 lat lat Latitude not as expected. N/A N/A N/A self assertEqual N/A N/A N/A dp locations N/A 0 lng lng Longitude not as expected. N/A N/A N/A self assertEqual N/A N/A N/A dp locations N/A 0 level level Building level not as expected. N/A N/A N/A self assertEqual N/A N/A N/A dp locations N/A 0 time time Location start time not as expected. N/A N/A N/A self assertEqual N/A N/A dp get_current_crate_count crate_count Drop point crate count not as expected. N/A N/A N/A self assertEqual N/A N/A N/A dp capacities N/A 0 crates crate_count Capacity crate count not as expected. N/A N/A N/A self assertEqual N/A N/A N/A dp capacities N/A 0 time time Capacity start time not as expected. N/A test_drop_point_construction_exceptions N/A N/A self N/A N/A N/A dp_number 1 N/A N/A DropPoint dp_number lat 0 lng 0 level 1 N/A N/A N/A N/A db session commit N/A N/A N/A self assertRaisesRegexp ValueError already exists N/A N/A N/A DropPoint dp_number lat 0 lng 0 level 1 N/A numbers N/A -1 foo None N/A num numbers N/A N/A N/A N/A self assertRaisesRegexp ValueError number N/A N/A N/A DropPoint num lat 0 lng 0 level 1 N/A time_in_future N/A N/A N/A datetime today N/A timedelta hours 1 N/A N/A N/A self assertRaisesRegexp ValueError future N/A N/A N/A DropPoint dp_number time time_in_future lat 0 lng 0 level 1 N/A N/A N/A self assertRaisesRegexp ValueError not a datetime N/A N/A N/A DropPoint dp_number time foo lat 0 lng 0 level 1 N/A test_drop_point_getters N/A N/A self N/A N/A N/A dp_number 1 N/A time N/A N/A datetime today N/A dp N/A DropPoint dp_number time time lat 0 lng 0 level 1 N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A N/A DropPoint get dp_number dp DropPoint.get() did not return the drop point created. N/A wrong_numbers N/A N/A dp_number 1 -1 foo None N/A number wrong_numbers N/A N/A N/A N/A self assertIsNone N/A N/A DropPoint get number DropPoint.get() for wrong number number did not return None. N/A N/A N/A self assertIsInstance N/A N/A dp get_current_location Location get_current_location() is not a Location object. N/A N/A N/A self assertEqual N/A N/A dp get_current_crate_count N/A Capacity default_crate_count get_current_crate_count() did not return the default crate count. N/A N/A N/A self assertEqual N/A N/A dp get_last_state N/A N/A Report states N/A 1 get_last_state() did not return the default state. N/A N/A N/A self assertEqual N/A N/A dp get_total_report_count 0 get_total_report_count() did not return 0. N/A N/A N/A self assertEqual N/A N/A dp get_new_report_count 0 get_new_report_count() did not return 0. N/A N/A N/A self assertFalse N/A N/A dp get_last_visit get_last_visit() returned something not False. N/A N/A N/A self assertFalse N/A N/A dp get_last_report get_last_report() returned something not False. N/A N/A N/A self assertFalse N/A N/A dp get_new_reports get_new_reports() returned something not False. N/A N/A N/A self assertGreater N/A N/A dp get_visit_interval 0 get_visit_interval() returned a value <= 0. N/A N/A N/A self assertIsInstance N/A N/A dp get_history list get_history() did not return a list. N/A elem N/A N/A dp get_history N/A N/A N/A N/A self assertIsInstance elem dict get_history() did not return a list of dicts. N/A assumed_history_length 3 N/A N/A N/A self assertEqual N/A len N/A N/A dp get_history assumed_history_length get_history() does not have a length of 3. N/A N/A N/A self assertIsInstance N/A N/A DropPoint get_dps_json str get_dps_json() did not return a string. N/A N/A N/A self assertGreater N/A len N/A N/A DropPoint get_dps_json 1 get_dps_json() did return a string too short. N/A N/A N/A self assertEqual N/A N/A DropPoint get_dps_json N/A N/A datetime today {} get_dps_json() for now did not return an empty JSON object. N/A N/A N/A self assertEqual N/A N/A DropPoint get_dps_json N/A N/A datetime today {} get_dps_json() JSON object for now not empty. N/A N/A N/A self assertEqual N/A N/A DropPoint get_dps_json time {} get_dps_json() JSON object for creation time not empty. N/A N/A N/A self assertNotEqual N/A N/A DropPoint get_dps_json N/A time N/A timedelta seconds 1 {} get_dps_json() JSON object for time < creation time empty. N/A test_location_addition_to_drop_point N/A N/A self N/A N/A N/A dp_number 3 N/A first_description here N/A first_lat -23.5 N/A first_lng 84 N/A first_level 3 N/A second_description there N/A second_lat 3.14 N/A second_lng -2.71828 N/A second_level 2 N/A first_time N/A N/A N/A datetime today N/A timedelta hours 2 N/A second_time N/A N/A N/A datetime today N/A timedelta hours N/A 2 1 N/A dp N/A DropPoint dp_number description first_description lat first_lat lng first_lng level first_level time first_time N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A len N/A dp locations 1 Drop point does not have exactly one location. N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A db session query Location count 1 Not exactly one location in the database. N/A second_location N/A Location dp description second_description lat second_lat lng second_lng level second_level time second_time N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A len N/A dp locations 2 Drop point does not have exactly two locations. N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A db session query Location count 2 Not exactly two locations in the database. N/A N/A N/A self assertEqual N/A N/A dp get_current_location second_location Current drop point location is not second location. N/A N/A N/A self assertEqual N/A N/A N/A N/A dp locations N/A 1 time N/A N/A N/A dp locations N/A 0 time N/A second_time first_time Wrong time difference between locations. N/A test_location_construction_exceptions N/A N/A self N/A N/A N/A dp N/A DropPoint 1 lat 0 lng 0 level 1 N/A N/A N/A self assertRaisesRegexp ValueError drop point N/A N/A N/A Location foo N/A time_in_future N/A N/A N/A datetime today N/A timedelta hours 1 N/A N/A N/A self assertRaisesRegexp ValueError future N/A N/A N/A Location dp time time_in_future lat 0 lng 0 level 1 N/A N/A N/A self assertRaisesRegexp ValueError not a datetime N/A N/A N/A Location dp time foo lat 0 lng 0 level 1 N/A start_time N/A N/A datetime today N/A N/A N/A self assertRaisesRegexp ValueError older than current N/A N/A N/A Location dp time start_time lat 0 lng 0 level 1 N/A N/A N/A N/A db session commit N/A N/A Location dp time N/A start_time N/A timedelta hours 1 N/A invalid_lat N/A foo -180 91 None N/A invalid_lng N/A bar -181 251.5 None N/A invalid_level N/A quux None N/A lat invalid_lat N/A N/A N/A N/A self assertRaisesRegexp ValueError lat N/A N/A N/A Location dp lat lat lng 0 level 1 N/A lng invalid_lng N/A N/A N/A N/A self assertRaisesRegexp ValueError lng N/A N/A N/A Location dp lat 0 lng lng level 1 N/A level invalid_level N/A N/A N/A N/A self assertRaisesRegexp ValueError level N/A N/A N/A Location dp lat 0 lng 0 level level N/A too_long N/A a N/A N/A Location max_description 1 N/A N/A N/A self assertRaisesRegexp ValueError too long N/A N/A N/A Location dp lat 0 lng 0 level 1 description too_long N/A test_capacity_addition_to_drop_point N/A N/A self N/A N/A N/A dp_number 3 N/A first_crate_count 5 N/A second_crate_count 2 N/A first_time N/A N/A N/A datetime today N/A timedelta hours 2 N/A second_time N/A N/A N/A datetime today N/A timedelta hours N/A 2 1 N/A dp N/A DropPoint dp_number crates first_crate_count time first_time lat 0 lng 0 level 1 N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A len N/A dp capacities 1 Drop point does not have exactly one capacity. N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A db session query Capacity count 1 Not exactly one capacity in the database. N/A second_capacity N/A Capacity dp crates second_crate_count time second_time N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A len N/A dp capacities 2 Drop point does not have exactly two capacities. N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A db session query Capacity count 2 Not exactly two capacities in the database. N/A N/A N/A self assertEqual N/A N/A dp capacities N/A -1 second_capacity Current capacity is not the second capacity object. N/A N/A N/A self assertEqual N/A N/A dp get_current_crate_count second_crate_count Current crate count is not second crate count. N/A N/A N/A self assertEqual N/A N/A N/A N/A dp capacities N/A 1 time N/A N/A N/A dp capacities N/A 0 time N/A second_time first_time Wrong time difference between capacities. N/A test_capacity_construction N/A N/A self N/A N/A N/A dp N/A DropPoint 1 lat 0 lng 0 level 1 N/A capacity N/A Capacity dp N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A N/A dp capacities N/A -1 capacity Capacity of drop point not capacity object created. N/A N/A N/A self assertEqual N/A capacity crates N/A Capacity default_crate_count Crate count not default crate count. N/A test_capacity_construction_exceptions N/A N/A self N/A N/A N/A dp N/A DropPoint 1 lat 0 lng 0 level 1 N/A N/A N/A self assertRaisesRegexp ValueError drop point N/A N/A N/A Capacity foo N/A time_in_future N/A N/A N/A datetime today N/A timedelta hours 1 N/A N/A N/A self assertRaisesRegexp ValueError future N/A N/A N/A Capacity dp time_in_future N/A N/A N/A self assertRaisesRegexp ValueError not a datetime N/A N/A N/A Capacity dp foo N/A start_time N/A N/A datetime today N/A N/A N/A self assertRaisesRegexp ValueError older than current N/A N/A N/A Capacity dp time start_time N/A N/A N/A N/A db session commit N/A N/A Capacity dp time N/A start_time N/A timedelta hours 1 N/A invalid_crate_counts N/A -1 some N/A count invalid_crate_counts N/A N/A N/A N/A self assertRaisesRegexp ValueError count N/A N/A N/A Capacity dp crates count N/A test_drop_point_removal N/A N/A self N/A N/A N/A dp N/A DropPoint 1 lat 0 lng 0 level 1 N/A N/A N/A self assertFalse N/A dp removed Freshly created drop point is removed. N/A removal_time N/A N/A datetime today N/A N/A N/A dp remove time removal_time N/A N/A N/A self assertIsInstance N/A dp removed datetime Drop point not removed or removal time not datetime. N/A N/A N/A self assertEqual N/A dp removed removal_time Removal time of drop point not time given. N/A dp N/A DropPoint 2 lat 0 lng 0 level 1 N/A N/A N/A dp remove N/A N/A N/A self assertIsInstance N/A dp removed datetime Drop point not removed or removal time not datetime. N/A N/A N/A self assertEqual N/A N/A dp get_priority 0 Non-zero visit priority of a removed drop point. N/A test_drop_point_removal_exceptions N/A N/A self N/A N/A N/A dp N/A DropPoint 1 lat 0 lng 0 level 1 N/A time_in_future N/A N/A N/A datetime today N/A timedelta hours 1 N/A N/A N/A self assertRaisesRegexp ValueError future N/A N/A N/A N/A dp remove time_in_future N/A N/A N/A self assertRaisesRegexp TypeError not a datetime N/A N/A N/A N/A dp remove foo N/A N/A N/A self assertRaisesRegexp RuntimeError already removed N/A N/A N/A N/A dp remove N/A N/A N/A dp remove N/A test_drop_point_reporting N/A N/A self N/A N/A N/A states N/A Report states N/A dp N/A DropPoint 1 lat 0 lng 0 level 1 N/A first_time N/A N/A datetime today N/A first_state N/A states N/A 0 N/A first_report N/A Report dp state first_state time first_time N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A first_report time first_time Report creation time not as expected. N/A N/A N/A self assertEqual N/A first_report state first_state Report state not as expected. N/A N/A N/A self assertEqual N/A N/A dp reports N/A 0 first_report First report not first report of associated drop point. N/A N/A N/A self assertEqual N/A N/A dp get_last_report first_report get_last_report() did not return first report. N/A N/A N/A self assertEqual N/A N/A dp get_last_state first_state get_last_state() did not return state. N/A N/A N/A self assertEqual N/A N/A dp get_total_report_count 1 get_total_report_count() not as expected. N/A N/A N/A self assertEqual N/A N/A dp get_new_report_count 1 get_new_report_count() not as expected. N/A N/A N/A self assertEqual N/A N/A N/A dp get_new_reports N/A 0 first_report First element returned by get_new_reports() not the report wanted. N/A second_time N/A N/A datetime today N/A second_state N/A states N/A -1 N/A second_report N/A Report dp state second_state time second_time N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A second_report state second_state Report state not as expected. N/A N/A N/A self assertEqual N/A N/A dp reports N/A -1 second_report Second report not last report of associated drop point. N/A N/A N/A self assertEqual N/A N/A dp get_last_report second_report get_last_report() did not return second report. N/A N/A N/A self assertEqual N/A N/A dp get_last_state second_state get_last_state() did not return second state. N/A N/A N/A self assertEqual N/A N/A dp get_total_report_count 2 get_total_report_count() not as expected. N/A N/A N/A self assertEqual N/A N/A dp get_new_report_count 2 get_new_report_count() not as expected. N/A N/A N/A self assertEqual N/A N/A N/A dp get_new_reports N/A 0 second_report First element returned by get_new_reports() not the report wanted. N/A test_report_construction_exceptions N/A N/A self N/A N/A N/A states N/A Report states N/A dp N/A DropPoint 1 lat 0 lng 0 level 1 N/A N/A N/A self assertRaisesRegexp ValueError drop point N/A N/A N/A Report None N/A N/A N/A self assertRaisesRegexp ValueError state N/A N/A N/A Report dp N/A time_in_future N/A N/A N/A datetime today N/A timedelta hours 1 N/A N/A N/A self assertRaisesRegexp ValueError future N/A N/A N/A Report dp time time_in_future state N/A states N/A 0 N/A N/A N/A self assertRaisesRegexp ValueError not a datetime N/A N/A N/A Report dp time foo state N/A states N/A 0 N/A N/A N/A self assertRaisesRegexp ValueError state N/A N/A N/A Report dp state whatever N/A test_report_weight_calculation N/A N/A self N/A N/A N/A N/A test_drop_point_visiting N/A N/A self N/A N/A N/A actions N/A Visit actions N/A dp N/A DropPoint 1 lat 0 lng 0 level 1 N/A first_time N/A N/A datetime today N/A first_action N/A actions N/A 1 N/A first_visit N/A Visit dp action first_action time first_time N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A first_visit time first_time Visit creation time not as expected. N/A N/A N/A self assertEqual N/A first_visit action first_action Visit action not as expected. N/A N/A N/A self assertEqual N/A N/A dp visits N/A 0 first_visit First visit not first visit of associated drop point. N/A N/A N/A self assertEqual N/A N/A dp get_last_visit first_visit get_last_visit() did not return first visit. N/A report_time N/A N/A datetime today N/A report_state N/A N/A Report states N/A 0 N/A report N/A Report dp state report_state time report_time N/A second_time N/A N/A datetime today N/A second_action N/A actions N/A 0 N/A second_visit N/A Visit dp action second_action time second_time N/A N/A N/A N/A db session commit N/A N/A N/A self assertEqual N/A second_visit action second_action Visit action not as expected. N/A N/A N/A self assertEqual N/A N/A dp visits N/A -1 second_visit Second visit not last visit of associated drop point. N/A N/A N/A self assertEqual N/A N/A dp get_last_visit second_visit get_last_visit() did not return second visit. N/A N/A N/A self assertNotEqual N/A N/A dp get_last_state report_state get_last_state() returns unchanged state after visit. N/A N/A N/A self assertEqual N/A N/A dp get_new_report_count 0 get_new_report_count() nonzero after visit. N/A N/A N/A self assertFalse N/A N/A dp get_new_reports get_new_reports() returned something not False after visit. N/A N/A N/A self assertEqual N/A N/A dp get_last_report report get_last_report() did not return report after visit. N/A N/A N/A self assertEqual N/A N/A dp get_total_report_count 1 get_total_report_count() not as expected after visit. N/A test_visit_construction_exceptions N/A N/A self N/A N/A N/A actions N/A Visit actions N/A dp N/A DropPoint 1 lat 0 lng 0 level 1 N/A N/A N/A self assertRaisesRegexp ValueError drop point N/A N/A N/A Visit None N/A N/A N/A self assertRaisesRegexp ValueError action N/A N/A N/A Visit dp N/A time_in_future N/A N/A N/A datetime today N/A timedelta hours 1 N/A N/A N/A self assertRaisesRegexp ValueError future N/A N/A N/A Visit dp time time_in_future action N/A actions N/A 0 N/A N/A N/A self assertRaisesRegexp ValueError not a datetime N/A N/A N/A Visit dp time foo action N/A actions N/A 0 N/A N/A N/A self assertRaisesRegexp ValueError action N/A N/A N/A Visit dp action whatever N/A test_drop_point_visit_priority_calculation N/A N/A self N/A N/A N/A N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main