mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Merge remote-tracking branch 'origin/pr/22'
This commit is contained in:
commit
f48fdbc441
1 changed files with 2 additions and 7 deletions
|
@ -4,13 +4,8 @@ import tornado.testing
|
|||
|
||||
class ExternalVersionTestCase(tornado.testing.AsyncTestCase):
|
||||
def sync_get_version(self, name, config):
|
||||
result = {}
|
||||
|
||||
def get_version_callback(name, version):
|
||||
result["version"] = version
|
||||
self.stop()
|
||||
self.stop(version)
|
||||
|
||||
get_version(name, config, get_version_callback)
|
||||
self.wait()
|
||||
|
||||
return result["version"]
|
||||
return self.wait()
|
||||
|
|
Loading…
Add table
Reference in a new issue