Revision 6d430e9d2dbc770f66c40e944928f5ec4f6cbccb authored by Henrik Skupin on 15 August 2018, 17:44:30 UTC, committed by jgraham on 17 August 2018, 09:47:16 UTC
Those tests make sure that an "invalid argument" error is raised
if the body doesn't contain any data.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1469601
gecko-commit: 7915b80eca091d53838f20594e84ed543b1752f3
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato
1 parent e27c34b
Raw File
localpaths.py
import os
import sys

here = os.path.abspath(os.path.split(__file__)[0])
repo_root = os.path.abspath(os.path.join(here, os.pardir))

sys.path.insert(0, os.path.join(here))
sys.path.insert(0, os.path.join(here, "wptserve"))
sys.path.insert(0, os.path.join(here, "pywebsocket"))
sys.path.insert(0, os.path.join(here, "third_party", "atomicwrites"))
sys.path.insert(0, os.path.join(here, "third_party", "attrs", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "funcsigs"))
sys.path.insert(0, os.path.join(here, "third_party", "html5lib"))
sys.path.insert(0, os.path.join(here, "third_party", "more-itertools"))
sys.path.insert(0, os.path.join(here, "third_party", "pluggy"))
sys.path.insert(0, os.path.join(here, "third_party", "py"))
sys.path.insert(0, os.path.join(here, "third_party", "pytest"))
sys.path.insert(0, os.path.join(here, "third_party", "pytest", "src"))
sys.path.insert(0, os.path.join(here, "third_party", "six"))
sys.path.insert(0, os.path.join(here, "third_party", "webencodings"))
sys.path.insert(0, os.path.join(here, "third_party", "h2"))
sys.path.insert(0, os.path.join(here, "third_party", "hpack"))
sys.path.insert(0, os.path.join(here, "third_party", "hyperframe"))
sys.path.insert(0, os.path.join(here, "third_party", "certifi"))
sys.path.insert(0, os.path.join(here, "third_party", "hyper"))
sys.path.insert(0, os.path.join(here, "webdriver"))
sys.path.insert(0, os.path.join(here, "wptrunner"))

if sys.version_info[0] == 2:
    sys.path.insert(0, os.path.join(here, "third_party", "enum"))
back to top