Skip to content

Commit 871896a

Browse files
committed
Prioritize pytest over nosetests
1 parent db6008f commit 871896a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

integrations/node_js/__init__.py

Whitespace-only changes.

integrations/node_js/server.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ var app = express();
55
var exec = require('child_process').exec;
66

77
function run_my_first_test_in_chrome() {
8-
exec("nosetests my_first_test.py --browser=chrome -s");
8+
exec("pytest my_first_test.py --browser=chrome -s");
99
}
1010

1111
function run_my_first_test_in_firefox() {
12-
exec("nosetests my_first_test.py --browser=firefox -s");
12+
exec("pytest my_first_test.py --browser=firefox -s");
1313
}
1414

1515
function run_my_first_test_in_chrome_with_demo_mode() {
16-
exec("nosetests my_first_test.py --browser=chrome --demo_mode");
16+
exec("pytest my_first_test.py --browser=chrome --demo_mode -s");
1717
}
1818

1919
function run_my_first_test_in_firefox_with_demo_mode() {
20-
exec("nosetests my_first_test.py --browser=firefox --demo_mode");
20+
exec("pytest my_first_test.py --browser=firefox --demo_mode -s");
2121
}
2222

2323
app.get('/', function(req, res) {

0 commit comments

Comments
 (0)