예제 #1
0
파일: test_oui.py 프로젝트: pennello/macgen
 def test_ensure_nonetwork(self):
   with testctx() as tmpdir:
     ouimgr = OuiMgr(tmpdir)
     cache = Random.cache()
     ouimgr.save(cache)
     ouimgr = OuiMgr(tmpdir)
     ouimgr.ensure()
     smokecache(self,ouimgr.cache)
예제 #2
0
파일: test_oui.py 프로젝트: pennello/macgen
 def test_ensure_network(self):
   with testctx() as tmpdir:
     ouimgr = OuiMgr(tmpdir)
     ouimgr.ensure()
     smokecache(self,ouimgr.cache)