class_docstr: Tests the S3Driver
  
  This was largely ported over from test_lookup_tables.py from the old implementation.
class_docstr_tok: ["Tests","the","S3Driver","This","was","largely","ported","over","from","test_lookup_tables.py","from","the","old","implementation","."]
docstr: LookupTables - DriverCache - set with cache eviction
docstr_tok: ["LookupTables","-","DriverCache","-","set","with","cache","eviction"]
code: def test_cache_eviction(self):
      """LookupTables - DriverCache - set with cache eviction"""
      cache = DriverCache(maximum_key_count=5)
  
      assert_equal(len(cache._data), 0)
  
      cache.set("asdf1", "cat", 1)
      cache.set("asdf2", "cat", 1)
      cache.set("asdf3", "cat", 1)
      cache.set("asdf4", "cat", 1)
      cache.set("asdf5", "always cats", 1)
  
      assert_equal(len(cache._data), 5)
  
      cache.set("asdf6", "definitely always cats", 1)
  
      assert_equal(len(cache._data), 5)
  
file_path: streamalert/tests/unit/streamalert/shared/lookup_tables/test_cache.py
imports: from datetime import datetime
  from nose.tools import assert_equal, assert_false, assert_true
  from streamalert.shared.lookup_tables.cache import DriverCache
label_desc: Use image node_id 11 for calling the TestDriverCache obj's underlying member method code with example usage: obj.test_cache_eviction() without return types