summaryrefslogtreecommitdiff
path: root/wheel/test/test_tool.py
diff options
context:
space:
mode:
Diffstat (limited to 'wheel/test/test_tool.py')
-rw-r--r--wheel/test/test_tool.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/wheel/test/test_tool.py b/wheel/test/test_tool.py
deleted file mode 100644
index 078f1ed..0000000
--- a/wheel/test/test_tool.py
+++ /dev/null
@@ -1,25 +0,0 @@
-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)