Skip to content

Commit

Permalink
Remove one layer of indirection.
Browse files Browse the repository at this point in the history
  • Loading branch information
sallner committed Oct 16, 2018
1 parent ce5a761 commit a4a1511
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Zope2/utilities/tests/test_zconsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
def print_info():
# This tests the availability of global variables and imports.
print(sys.argv[1:])
# 'ExtensionClass'
print(OFS.PropertyManager.PropertyManager.__class__.__name__)
# 'PropertyManager'
print(OFS.PropertyManager.PropertyManager.__name__)
if __name__ == '__main__':
app.foo = '42'
Expand Down Expand Up @@ -84,6 +84,6 @@ def test_runscript(self):
sys.argv = self.stored_sys_argv
sys.stdout = self.stored_stdout
expected = (
"42\n['run', '{}', '{}', 'bar', 'baz']\nExtensionClass\n").format(
"42\n['run', '{}', '{}', 'bar', 'baz']\nPropertyManager\n").format(
self.zopeconf, script)
self.assertEqual(expected, got)

0 comments on commit a4a1511

Please sign in to comment.