diff --git a/IPython/testing/iptestcontroller.py b/IPython/testing/iptestcontroller.py index 9b3e18d28..f995592b8 100644 --- a/IPython/testing/iptestcontroller.py +++ b/IPython/testing/iptestcontroller.py @@ -183,11 +183,11 @@ class JSController(TestController): includes = '--includes=' + os.path.join(test_dir,'util.js') if self.section == 'js': - test_cases = os.path.join(test_dir, 'test_cases') + test_cases = os.path.join(test_dir, 'js') elif self.section == 'notebook': - test_cases = os.path.join(test_dir, 'test_cases', 'notebook') + test_cases = os.path.join(test_dir, 'notebook') elif self.section == 'widgets': - test_cases = os.path.join(test_dir, 'test_cases', 'widgets') + test_cases = os.path.join(test_dir, 'widgets') port = '--port=' + str(self.server_port) self.cmd = ['casperjs', 'test', port, includes, test_cases]