mirror of https://github.com/pyodide/pyodide.git
More review comments
This commit is contained in:
parent
5030eae5b7
commit
f35aa2eede
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue