def setUp(self):
     MacroCache.clear()
 def testClear(self):
     MacroCache.put("$x","x")
     assert(MacroCache.get("$x") == "x")
     MacroCache.clear()
     assert(MacroCache.get("$x") == None)