eth-gas-proxy

Middleware to selectively override EVM gas heuristics
git clone git://holbrook.no/eth-gas-proxy.git
Log | Files | Refs

test_memcache.py (351B)


      1 import unittest
      2 
      3 from gas_proxy.cache.mem import MemCache
      4 
      5 
      6 class Test(unittest.TestCase):
      7 
      8 
      9     def setUp(self):
     10         pass
     11 
     12 
     13     def tearDown(self):
     14         pass
     15 
     16 
     17 
     18     def test_memcache(self):
     19         memcache = MemCache()
     20         memcache.set(10)
     21         self.assertEqual(memcache.get(), 10)
     22     
     23 
     24 if __name__ == '__main__':
     25     unittest.main()