-
-
Save wilig/674728 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sharedshelf.tests import * | |
from sharedshelf.lib import imatacache | |
class TestImataCache(TestCase): | |
def test_adding_value_to_cache(self): | |
cache = imatacache.ImataCache() | |
myvalue = 'bar' | |
key = cache.add(myvalue) | |
self.assertEqual(myvalue, cache.get(key)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment