summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJon Cairns <jon@joncairns.com>2012-12-19 13:49:27 +0000
committerJon Cairns <jon@ggapps.co.uk>2012-12-19 13:49:27 +0000
commit81ddafba08d53d71bd3554fed277d0d9db51a958 (patch)
treeb6342c09485fdb4fab3a291b5a57bb2af2dcb7ef /tests
parente7f263c713be3597c4ba3e8f05a88803ad6b583d (diff)
downloadvdebug-81ddafba08d53d71bd3554fed277d0d9db51a958.zip
Fixed test due to missing XML namespace
Diffstat (limited to 'tests')
-rw-r--r--tests/test_dbgp_api.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_dbgp_api.py b/tests/test_dbgp_api.py
index dff23ed..f16ab77 100644
--- a/tests/test_dbgp_api.py
+++ b/tests/test_dbgp_api.py
@@ -45,6 +45,7 @@ class ApiTest(unittest.TestCase):
self.p.conn.recv_msg.return_value = """<?xml
version="1.0" encoding="iso-8859-1"?>\n
<response command="status"
+ xmlns="urn:debugger_api_v1"
status="starting"
reason="ok"
transaction_id="transaction_id">
@@ -58,6 +59,7 @@ class ApiTest(unittest.TestCase):
self.p.conn.recv_msg.return_value = """<?xml
version="1.0" encoding="iso-8859-1"?>\n
<response command="run"
+ xmlns="urn:debugger_api_v1"
status="running"
reason="ok"
transaction_id="transaction_id">
@@ -71,6 +73,7 @@ class ApiTest(unittest.TestCase):
self.p.conn.recv_msg.return_value = """<?xml
version="1.0" encoding="iso-8859-1"?>\n
<response command="step_into"
+ xmlns="urn:debugger_api_v1"
status="break"
reason="ok"
transaction_id="transaction_id">
@@ -84,6 +87,7 @@ class ApiTest(unittest.TestCase):
self.p.conn.recv_msg.return_value = """<?xml
version="1.0" encoding="iso-8859-1"?>\n
<response command="step_into"
+ xmlns="urn:debugger_api_v1"
status="break"
reason="ok"
transaction_id="transaction_id">
@@ -97,6 +101,7 @@ class ApiTest(unittest.TestCase):
self.p.conn.recv_msg.return_value = """<?xml
version="1.0" encoding="iso-8859-1"?>\n
<response command="step_into"
+ xmlns="urn:debugger_api_v1"
status="break"
reason="ok"
transaction_id="transaction_id">
@@ -110,6 +115,7 @@ class ApiTest(unittest.TestCase):
self.p.conn.recv_msg.return_value = """<?xml
version="1.0" encoding="iso-8859-1"?>\n
<response command="stop"
+ xmlns="urn:debugger_api_v1"
status="stopping"
reason="ok"
transaction_id="transaction_id">
@@ -123,6 +129,7 @@ class ApiTest(unittest.TestCase):
self.p.conn.recv_msg.return_value = """<?xml
version="1.0" encoding="iso-8859-1"?>\n
<response command="detatch"
+ xmlns="urn:debugger_api_v1"
status="stopped"
reason="ok"
transaction_id="transaction_id">