Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Dict NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index NameLoad decorator_list Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr TupleLoad Num Num Num Str Num Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call NameLoad keyword NameLoad Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call NameLoad keyword NameLoad Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad ListLoad Str ListLoad Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A 
test_django-watchman
------------

Tests for `django-watchman` utils module.
 __future__ unicode_literals N/A unittest mock patch watchman.utils get_cache get_checks TestWatchman N/A N/A unittest TestCase N/A assertListsEqual N/A N/A self list1 list2 N/A N/A N/A N/A N/A N/A N/A self assertCountEqual list1 list2 N/A N/A N/A AttributeError N/A N/A N/A N/A self assertItemsEqual list1 list2 N/A test_get_cache N/A N/A self cache_mock N/A N/A N/A cache_key my_cache N/A cache_value i am a cache N/A cache N/A cache_key cache_value getitem N/A N/A cache_name N/A N/A N/A N/A cache N/A cache_name N/A N/A N/A N/A N/A cache_mock caches __getitem__ side_effect getitem N/A result N/A get_cache cache_key N/A N/A N/A self assertEqual result cache_value N/A N/A patch watchman.utils.django_cache test_get_cache_less_than_django_17 N/A N/A self django_mock get_cache_mock N/A N/A N/A N/A django_mock VERSION N/A 1 6 6 final 0 N/A N/A get_cache foo N/A N/A N/A get_cache_mock assert_called_once_with foo N/A N/A N/A unittest skip Seems to be blowing up on Django 1.9 N/A patch django.core.cache.get_cache N/A patch watchman.utils.django test_get_checks_returns_all_available_checks_by_default N/A N/A self N/A N/A N/A checks N/A N/A check __name__ N/A check N/A get_checks N/A expected_checks N/A caches databases storage N/A N/A N/A self assertListsEqual checks expected_checks N/A test_get_checks_with_check_list_returns_union N/A N/A self N/A N/A N/A check_list N/A watchman.checks.caches N/A checks N/A N/A check __name__ N/A check N/A get_checks check_list check_list N/A expected_checks N/A caches N/A N/A N/A self assertListsEqual checks expected_checks N/A test_get_checks_with_skip_list_returns_difference N/A N/A self N/A N/A N/A skip_list N/A watchman.checks.caches N/A checks N/A N/A check __name__ N/A check N/A get_checks skip_list skip_list N/A expected_checks N/A databases storage N/A N/A N/A self assertListsEqual checks expected_checks N/A test_get_checks_with_matching_check_and_skip_list_returns_empty_list N/A N/A self N/A N/A N/A N/A check_list skip_list N/A N/A watchman.checks.caches N/A watchman.checks.caches N/A checks N/A N/A check __name__ N/A check N/A get_checks check_list check_list skip_list skip_list N/A expected_checks N/A N/A N/A N/A self assertListsEqual checks expected_checks N/A test_get_checks_with_check_and_skip_list N/A N/A self N/A N/A N/A check_list N/A watchman.checks.caches watchman.checks.databases N/A skip_list N/A watchman.checks.caches N/A checks N/A N/A check __name__ N/A check N/A get_checks check_list check_list skip_list skip_list N/A expected_checks N/A databases N/A N/A N/A self assertListsEqual checks expected_checks N/A test_get_checks_with_paid_checks_disabled_returns_expected_checks N/A N/A self N/A N/A N/A expected_checks N/A caches databases storage N/A checks N/A N/A check __name__ N/A check N/A get_checks N/A N/A N/A self assertListsEqual checks expected_checks N/A test_get_checks_with_paid_checks_enabled_returns_expected_checks N/A N/A self N/A N/A N/A N/A N/A N/A unittest skip Unsure how to test w/ modified settings N/A