Commit f35aa2ee authored by Roman Yurchak's avatar Roman Yurchak

More review comments

parent 5030eae5
......@@ -49,7 +49,7 @@ var languagePluginLoader = new Promise((resolve, reject) => {
console.log(`Invalid package name or URI '${package_uri}'`);
break;
} else if (package == package_uri) {
package_uri = 'packages.json';
package_uri = 'default channel';
}
console.log(`Loading ${package} from ${package_uri}`);
......
......@@ -7,7 +7,8 @@ import pytest
def test_init(selenium_standalone):
assert 'Python initialization complete' in selenium_standalone.logs
assert ('Python initialization complete'
in selenium_standalone.logs.splitlines())
assert len(selenium_standalone.driver.window_handles) == 1
......@@ -19,7 +20,7 @@ def test_webbrowser(selenium):
def test_print(selenium):
selenium.run("print('This should be logged')")
assert 'This should be logged' in selenium.logs
assert 'This should be logged' in selenium.logs.splitlines()
def test_python2js(selenium):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment