Module Expr Str Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Str keyword Str keyword Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr keyword Num ListLoad TupleLoad Num Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword NameLoad keyword Str keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Str keyword NameLoad keyword Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr keyword Num ListLoad TupleLoad Num Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Str keyword Str keyword Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr keyword Num ListLoad TupleLoad Num Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Str keyword Str keyword Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr keyword Num ListLoad TupleLoad Num Str TupleLoad Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Str keyword Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr Assert CompareIs NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr Assert CompareIs NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Assert CompareEq NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Num keyword Str keyword Str keyword Num keyword Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareIs Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Num keyword Str keyword Str keyword Num Assert CompareEq Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Expr Call AttributeLoad NameLoad attr ListLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num decorator_list
N/A N/A 
The MIT License (MIT)
Copyright (c) 2016 Nordeus LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 N/A pytest pushkin.database database N/A datetime pushkin context pushkin test_config_ini_path N/A N/A N/A context setup_configuration test_config_ini_path setup_database N/A N/A N/A N/A N/A N/A N/A database init_db N/A N/A N/A database create_database N/A N/A pytest fixture test_devices N/A N/A setup_database N/A N/A N/A N/A N/A database process_user_login login_id 12345 language_id 7 platform_id 1 device_id qwe device_token 123 application_version 1007 N/A N/A N/A list N/A N/A database get_device_tokens login_id 12345 N/A N/A 1 123 N/A N/A N/A database process_user_login login_id 12345 language_id 7 platform_id 1 device_id None device_token 123 application_version 1007 N/A N/A N/A database process_user_login login_id 12345 language_id 7 platform_id 1 device_id qwe device_token None application_version 1007 N/A N/A N/A list N/A N/A database get_device_tokens login_id 12345 N/A N/A 1 123 N/A N/A N/A database process_user_login login_id 12345 language_id 7 platform_id 1 device_id qwe device_token 124 application_version 1007 N/A N/A N/A list N/A N/A database get_device_tokens login_id 12345 N/A N/A 1 124 N/A N/A N/A database process_user_login login_id 12345 language_id 7 platform_id 1 device_id qwr device_token 125 application_version 1007 N/A N/A N/A list N/A N/A database get_device_tokens login_id 12345 N/A N/A 1 124 N/A 1 125 N/A test_message N/A N/A setup_database N/A N/A N/A N/A N/A database process_user_login login_id 12345 language_id 7 platform_id 1 device_id qwe device_token 123 application_version 1007 N/A message_1 N/A N/A database add_message message_name test language_id 1 message_title title en message_text text en N/A localized_message N/A N/A database get_localized_message login_id 12345 message_id N/A message_1 message_id N/A N/A N/A localized_message message_title title en N/A N/A N/A localized_message message_text text en N/A N/A N/A localized_message language_id 1 N/A N/A N/A N/A localized_message message screen N/A message_2 N/A N/A database add_message message_name test language_id 0 message_title title other message_text text other N/A localized_message N/A N/A database get_localized_message login_id 12345 message_id N/A message_2 message_id N/A N/A N/A localized_message message_title title en N/A N/A N/A localized_message message_text text en N/A N/A N/A localized_message language_id 1 N/A N/A N/A N/A localized_message message screen N/A message_3 N/A N/A database add_message message_name test language_id 7 message_title title sr message_text text sr N/A localized_message N/A N/A database get_localized_message login_id 12345 message_id N/A message_3 message_id N/A N/A N/A localized_message message_title title sr N/A N/A N/A localized_message message_text text sr N/A N/A N/A localized_message language_id 7 N/A N/A N/A N/A localized_message message screen N/A bad_message N/A N/A database add_message message_name test_bad language_id 0 message_title title bad message_text text bad N/A localized_message N/A N/A database get_localized_message login_id 12345 message_id N/A bad_message message_id N/A N/A localized_message None N/A localized_message N/A N/A database get_localized_message login_id 12346 message_id N/A message_3 message_id N/A N/A localized_message None N/A N/A N/A database delete_message N/A message_1 message N/A N/A N/A N/A database get_message test None N/A test_user N/A N/A setup_database N/A N/A N/A login N/A N/A database upsert_login 12345 7 N/A N/A login N/A N/A database get_login 12345 N/A device N/A N/A database upsert_device login_id N/A login id platform_id 1 device_id qwe device_token 123 application_version 1001 unregistered_ts N/A N/A N/A datetime datetime now N/A N/A device N/A N/A login devices N/A 0 N/A N/A N/A database delete_device device N/A N/A N/A len N/A login devices 0 N/A N/A N/A database delete_login login N/A N/A N/A N/A database get_login 12345 None N/A test_unregistered_device N/A N/A setup_database N/A N/A N/A login N/A N/A database upsert_login 12345 7 N/A device N/A N/A database upsert_device login_id N/A login id platform_id 1 device_id qwe device_token 123 application_version 1001 N/A N/A N/A len N/A N/A N/A N/A database get_device_tokens 12345 all 1 N/A N/A N/A database update_unregistered_devices N/A N/A login_id device_token N/A device login_id N/A device device_token N/A N/A N/A len N/A N/A N/A N/A database get_device_tokens 12345 all 0 N/A