forked from pool/python-tornado
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=52
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
Index: tornado-4.4.2/tornado/test/options_test.py
|
||||
===================================================================
|
||||
--- tornado-4.4.2.orig/tornado/test/options_test.py
|
||||
+++ tornado-4.4.2/tornado/test/options_test.py
|
||||
@@ -36,8 +36,8 @@ class OptionsTest(unittest.TestCase):
|
||||
options.define("port", default=80)
|
||||
options.define("username", default='foo')
|
||||
options.define("my_path")
|
||||
- config_path = os.path.join(os.path.dirname(__file__),
|
||||
- "options_test.cfg")
|
||||
+ config_path = os.path.abspath(os.path.join(os.path.dirname(__file__),
|
||||
+ "options_test.cfg"))
|
||||
options.parse_config_file(config_path)
|
||||
self.assertEqual(options.port, 443)
|
||||
self.assertEqual(options.username, "李康")
|
Reference in New Issue
Block a user