(self)
| 36 | """Test helper functions used by both export tools.""" |
| 37 | |
| 38 | def test_escape_python_string_basic(self): |
| 39 | from arkana.mcp.tools_export import _escape_python_string |
| 40 | assert _escape_python_string("hello") == "hello" |
| 41 | assert _escape_python_string('say "hi"') == 'say \\"hi\\"' |
| 42 | assert _escape_python_string("back\\slash") == "back\\\\slash" |
| 43 | assert _escape_python_string("new\nline") == "new\\nline" |
| 44 | |
| 45 | def test_get_file_metadata(self, _setup_state): |
| 46 | from arkana.mcp.tools_export import _get_file_metadata |
nothing calls this directly
no test coverage detected