Permalink
Browse files

Fixed test due to missing XML namespace

  • Loading branch information...
1 parent b4d1c1f commit 5b8b6e12e02d88b163f6f0c2a5849e47aea1cd54 @joonty committed Dec 19, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 tests/test_dbgp_api.py
View
7 tests/test_dbgp_api.py
@@ -45,6 +45,7 @@ def test_status_retval(self):
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 @@ def test_run_retval(self):
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 @@ def test_step_into_retval(self):
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 @@ def test_step_over_retval(self):
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 @@ def test_step_out_retval(self):
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 @@ def test_stop_retval(self):
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 @@ def test_detatch_retval(self):
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">

0 comments on commit 5b8b6e1

Please sign in to comment.