File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33- name : Install testinfra at version 5.0.0
44 pip : state=present name=testinfra version=5.0.0
5+
6+ - name : Install pytest-spec formatter at version 2.0.0
7+ pip : state=present name=pytest-spec version=2.0.0
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ verify_vm() {
6868 big_step " Verifying the VM..."
6969 cd $REPO_ROOT
7070 step " run integration tests"
71- py.test -v --color=yes spec/* .py
71+ py.test -v --color=yes --spec spec/* .py
7272}
7373
7474big_step () {
Original file line number Diff line number Diff line change 22def test_testinfra_is_installed_at_version_5_0_0_ (host ):
33 cmd = host .run ("pip3 show --disable-pip-version-check testinfra" )
44 assert cmd .rc is 0
5- assert "Name: testinfra\n Version: 5.0.0" in cmd .stdout
5+ assert "Name: testinfra\n Version: 5.0.0" in cmd .stdout
6+
7+ def test_pytest_spec_is_installed_at_version_2_0_0_ (host ):
8+ cmd = host .run ("pip3 show --disable-pip-version-check pytest-spec" )
9+ assert cmd .rc is 0
10+ assert "Name: pytest-spec\n Version: 2.0.0" in cmd .stdout
You can’t perform that action at this time.
0 commit comments