mirror of
https://github.com/KevinMidboe/Node-Com-Handler.git
synced 2025-10-29 17:50:27 +00:00
Started to create a small FLASK restful api for handling requests
This commit is contained in:
25
v1/flask/lib/python3.4/site-packages/wheel/test/test_tool.py
Normal file
25
v1/flask/lib/python3.4/site-packages/wheel/test/test_tool.py
Normal file
@@ -0,0 +1,25 @@
|
||||
from .. import tool
|
||||
|
||||
def test_keygen():
|
||||
def get_keyring():
|
||||
WheelKeys, keyring = tool.get_keyring()
|
||||
|
||||
class WheelKeysTest(WheelKeys):
|
||||
def save(self):
|
||||
pass
|
||||
|
||||
class keyringTest:
|
||||
@classmethod
|
||||
def get_keyring(cls):
|
||||
class keyringTest2:
|
||||
pw = None
|
||||
def set_password(self, a, b, c):
|
||||
self.pw = c
|
||||
def get_password(self, a, b):
|
||||
return self.pw
|
||||
|
||||
return keyringTest2()
|
||||
|
||||
return WheelKeysTest, keyringTest
|
||||
|
||||
tool.keygen(get_keyring=get_keyring)
|
||||
Reference in New Issue
Block a user