Skip to content

Commit 9b76ea5

Browse files
author
AutomatedTester
committed
Update pytest and dependencies
1 parent bb27671 commit 9b76ea5

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

Diff for: py/build.desc

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ py_test(
5050
py_env(
5151
name = "test_env",
5252
packages = [
53-
"third_party/py/py-1.4.13.tar.gz",
54-
"third_party/py/pytest-2.3.4.zip",
53+
"third_party/py/py-1.4.26.tar.gz",
54+
"third_party/py/pytest-2.7.0.tar.gz",
5555
],
5656
dest = "build/python")
5757

@@ -80,7 +80,7 @@ py_docs(
8080
py_env(
8181
name = "test_env_docs",
8282
packages = [
83-
"third_party/py/py-1.4.13.tar.gz",
83+
"third_party/py/py-1.4.26.tar.gz",
8484
"third_party/py/docutils-0.11.tar.gz",
8585
"third_party/py/Jinja2-2.7.tar.gz",
8686
"third_party/py/MarkupSafe-0.18.tar.gz",

Diff for: rake-tasks/crazy_fun/mappings/python.rb

+3-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ def handle(fun, dir, args)
152152
# Test file pattern has been specified in the pytest.ini file at project root dir
153153
test_dir = ["#{Python::lib_dir}/selenium/test/selenium/webdriver/#{browser_data[:dir]}/"]
154154
pytest_args = [pytest_path] + test_dir
155-
pytest_args += ["-k", "-ignore_#{browser_data[:ignore]}"] if browser_data[:ignore]
156-
pytest_args += ["-k" , ENV['method']] if ENV['method']
155+
ignores = "-ignore_#{browser_data[:ignore]}" if browser_data[:ignore]
156+
ignores += " and " + ENV['method'] if ENV['method']
157+
pytest_args += ["-k=\"" + ignores + "\""]
157158
pytest_args += ["--junitxml=build/test_logs/python-#{browser}-#{Time.now.to_i}.xml"]
158159
mkdir_p "build/test_logs"
159160
sh pytest_args.join(' '), :verbose => true

Diff for: third_party/py/py-1.4.13.tar.gz

-185 KB
Binary file not shown.

Diff for: third_party/py/py-1.4.26.tar.gz

186 KB
Binary file not shown.

Diff for: third_party/py/pytest-2.3.4.zip

-515 KB
Binary file not shown.

Diff for: third_party/py/pytest-2.7.0.tar.gz

514 KB
Binary file not shown.

0 commit comments

Comments
 (0)