More review comments

This commit is contained in:
Roman Yurchak 2018-08-24 18:43:59 +03:00
parent 5030eae5b7
commit f35aa2eede
2 changed files with 4 additions and 3 deletions

View File

@ -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}`);

View File

@ -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):