<s> """<STR_LIT>""" <EOL> from datetime import datetime <EOL> from django . test import TestCase <EOL> from mock import Mock <EOL> from open_connect . connect_core . utils . models import CacheMixinModel <EOL> class TestCacheModelMixin ( TestCase ) : <EOL> """<STR_LIT>""" <EOL> def test_cache_key ( self ) : <EOL> """<STR_LIT>""" <EOL> mixin = CacheMixinModel ( ) <EOL> mock_meta = Mock ( ) <EOL> mock_meta . app_label = '<STR_LIT>' <EOL> mock_meta . model_name = '<STR_LIT>' <EOL> mixin . _meta = mock_meta <EOL> mixin . pk = <NUM_LIT> <EOL> mixin . modified_at = datetime ( <NUM_LIT> , <NUM_LIT:6> , <NUM_LIT> , <NUM_LIT:3> , <NUM_LIT:6> , <NUM_LIT> , <NUM_LIT> ) <EOL> self . assertEqual ( <EOL> mixin . cache_key , <EOL> u'<STR_LIT>' <EOL> ) </s>
