summary refs log tree commit diff stats
path: root/test/tc_ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_ui.py')
-rw-r--r--test/tc_ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tc_ui.py b/test/tc_ui.py
index f509ff36..eb503c5d 100644
--- a/test/tc_ui.py
+++ b/test/tc_ui.py
@@ -17,7 +17,7 @@ class Test(unittest.TestCase):
 
 		def fakesetup():
 			self.ui.widget = Fake()
-			self.ui.add_obj(self.ui.widget)
+			self.ui.add_child(self.ui.widget)
 		self.ui.setup = fakesetup
 
 		self.ui.initialize()