Module Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore Call NameLoad Num body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad NameLoad NameLoad If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore Call NameLoad Num body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad NameLoad NameLoad If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A N/A datetime N/A json simplejson dateutil.relativedelta relativedelta django.test TestCase django.utils.dateformat format format_ intranet.org.models Event WWWAjaxTestCase N/A TestCase N/A N/A Test case for Ajax features of www app. N/A fixtures N/A test_command_parse_videoarhive.json test_ajax_index_events_now N/A N/A self N/A N/A N/A Test ajax_index_events method with today == 'Sob, 16. nov'.

        Example of testing data `events_dict`:
        {'events': {'0': {'date': 'Pon, 11. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '11. 11.'},
            '1': {'date': 'Tor, 12. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '12. 11.'},
            '2': {'date': 'Sre, 13. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '13. 11.'},
            '3': {'date': u'\u010det, 14. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '14. 11.'},
            '4': {'date': 'Pet, 15. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '15. 11.'},
            '5': {'date': 'Sob, 16. nov',
                  'events': [],
                  'is_today': True,
                  'short_date': '16. 11.'},
            '6': {'date': 'Ned, 17. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '17. 11.'}},
         'next_url': 'https://example.com/ajax/index/events/2013/47/',
         'prev_url': 'https://example.com/ajax/index/events/2013/45/'}
         N/A resp N/A N/A N/A self client get /ajax/index/events follow True N/A events_dict N/A N/A simplejson loads N/A resp content N/A N/A N/A self assertEqual N/A resp status_code 200 N/A today N/A N/A N/A datetime date today N/A today_date N/A N/A N/A format_ today D, d. b capitalize N/A today_short_date N/A format_ today d. n. N/A N/A N/A self assertIn events events_dict N/A N/A N/A self assertIn next_url events_dict N/A N/A N/A self assertIn prev_url events_dict N/A i N/A range 7 N/A N/A events_by_day N/A N/A events_dict N/A events N/A N/A str i N/A N/A N/A self assertIn date events_by_day N/A N/A N/A self assertIn N/A type N/A events_by_day N/A date N/A unicode str N/A N/A N/A self assertIn events events_by_day N/A N/A N/A self assertEqual list N/A type N/A events_by_day N/A events N/A N/A N/A self assertIn is_today events_by_day N/A N/A N/A self assertEqual bool N/A type N/A events_by_day N/A is_today N/A N/A N/A self assertIn short_date events_by_day N/A N/A N/A self assertIn N/A type N/A events_by_day N/A short_date N/A unicode str N/A N/A events_by_day N/A is_today N/A N/A N/A N/A self assertEqual N/A events_by_day N/A date today_date N/A N/A N/A self assertEqual N/A events_by_day N/A short_date today_short_date N/A test_ajax_index_events_future N/A N/A self N/A N/A N/A Test ajax_index_events method with tomorrow == 'Ned, 17. nov'.

        Example of testing data `events_dict`:
        {'events': {'0': {'date': 'Pon, 11. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '11. 11.'},
            '1': {'date': 'Tor, 12. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '12. 11.'},
            '2': {'date': 'Sre, 13. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '13. 11.'},
            '3': {'date': u'\u010det, 14. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '14. 11.'},
            '4': {'date': 'Pet, 15. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '15. 11.'},
            '5': {'date': 'Sob, 16. nov',
                  'events': [],
                  'is_today': False,
                  'short_date': '16. 11.'},
            '6': {'date': 'Ned, 17. nov',
                  'events': [],
                  'is_today': True,
                  'short_date': '17. 11.'}},
         'next_url': 'https://example.com/ajax/index/events/2013/47/',
         'prev_url': 'https://example.com/ajax/index/events/2013/45/'}
         N/A tomorrow N/A N/A N/A N/A datetime date today N/A relativedelta days 1 N/A tomorrow_date N/A N/A N/A format_ tomorrow D, d. b capitalize N/A tomorrow_short_date N/A format_ tomorrow d. n. N/A event N/A N/A N/A Event objects get id 1 N/A N/A event start_date tomorrow N/A N/A N/A event save N/A resp N/A N/A N/A self client get /ajax/index/events follow True N/A events_dict N/A N/A simplejson loads N/A resp content N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A N/A self assertIn events events_dict N/A N/A N/A self assertIn next_url events_dict N/A N/A N/A self assertIn prev_url events_dict N/A i N/A range 7 N/A N/A events_by_day N/A N/A events_dict N/A events N/A N/A str i N/A N/A N/A self assertIn date events_by_day N/A N/A N/A self assertIn N/A type N/A events_by_day N/A date N/A unicode str N/A N/A N/A self assertIn events events_by_day N/A N/A N/A self assertEqual list N/A type N/A events_by_day N/A events N/A N/A N/A self assertIn is_today events_by_day N/A N/A N/A self assertEqual bool N/A type N/A events_by_day N/A is_today N/A N/A N/A self assertIn short_date events_by_day N/A N/A N/A self assertIn N/A type N/A events_by_day N/A short_date N/A unicode str N/A N/A events_by_day N/A is_today N/A N/A N/A N/A self assertEqual N/A events_by_day N/A date tomorrow_date N/A N/A N/A self assertEqual N/A events_by_day N/A short_date tomorrow_short_date N/A N/A WWWTestCase N/A TestCase N/A N/A fixtures N/A test_command_parse_videoarhive.json test_index N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get / follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A test_public_event N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /event/blabla-1/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A N/A self assertRedirects resp /sl/event/test-77-3-1/ N/A resp N/A N/A N/A self client get /sl/event/test-77-3-1/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A N/A self assertListEqual N/A resp redirect_chain N/A N/A resp N/A N/A N/A self client get /sl/event/2011-jan-01/1/blabla/hopsasa/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A N/A self assertRedirects resp /sl/event/test-77-3-1/ status_code 301 N/A test_prostori N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /sl/prostori/2/opis.ajax follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A test_feeds N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /sl/feeds/novice/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A resp N/A N/A N/A self client get /sl/feeds/dogodki/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A resp N/A N/A N/A self client get /sl/feeds/pot/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A resp N/A N/A N/A self client get /sl/feeds/su/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A resp N/A N/A N/A self client get /sl/feeds/planet/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A resp N/A N/A N/A self client get /sl/feeds/muzej/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A resp N/A N/A N/A self client get /sl/feeds/all/ follow True N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A