Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6bcc45

Browse files
committed
- After rebasing and accepting Opscode's source stanza it broke our source test.
+ It will now look in /usr/local/bin/python + It will run /usr/local/bin/python to get the version number Signed-off-by: Scott M. Likens <[email protected]>
1 parent 2e9c012 commit d6bcc45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env bats
22

33
@test "python bin should exist" {
4-
[ -x "/opt/bin/python" ]
4+
[ -x "/usr/local/bin/python" ]
55
}
66

7-
@test "python should be version 2.7.1" {
8-
/opt/bin/python -c 'import sys; print sys.version' | grep '2.7.1'
7+
@test "python should be version 2.7.5" {
8+
/usr/local/bin/python -c 'import sys; print sys.version' | grep '2.7.5'
99
}

0 commit comments

Comments
 (0)