+{"name": "test_parse_as", "status": "broken", "statusDetails": {"message": "FileNotFoundError: [Errno 2] No such file or directory: 'structured-data/camel-alias.json'", "trace": "def test_parse_as():\n> result = DemoModelAlias.parse_file('./structured-data/camel-alias.json')\n\n\ntests/test_models.py:20: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.venv/lib/python3.12/site-packages/pydantic/main.py:1302: in parse_file\n obj = parse.load_file(\n allow_pickle = False\n cls = <class 'tests.helper.demo_models.DemoModelAlias'>\n content_type = None\n encoding = 'utf8'\n parse = <module 'pydantic.deprecated.parse' from '/Users/patrick/workspace/personal/fluent-stacks/pyway/shared/qpystructs/.venv/lib/python3.12/site-packages/pydantic/deprecated/parse.py'>\n path = './structured-data/camel-alias.json'\n proto = None\n.venv/lib/python3.12/site-packages/pydantic/deprecated/parse.py:71: in load_file\n b = path.read_bytes()\n allow_pickle = False\n content_type = None\n encoding = 'utf8'\n json_loads = <function loads at 0x1057c18a0>\n path = PosixPath('structured-data/camel-alias.json')\n proto = None\n/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/pathlib.py:1020: in read_bytes\n with self.open(mode='rb') as f:\n self = PosixPath('structured-data/camel-alias.json')\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('structured-data/camel-alias.json'), mode = 'rb', buffering = -1\nencoding = None, errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return io.open(self, mode, buffering, encoding, errors, newline)\nE FileNotFoundError: [Errno 2] No such file or directory: 'structured-data/camel-alias.json'\n\nbuffering = -1\nencoding = None\nerrors = None\nmode = 'rb'\nnewline = None\nself = PosixPath('structured-data/camel-alias.json')\n\n/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/pathlib.py:1014: FileNotFoundError"}, "start": 1734082661774, "stop": 1734082661774, "uuid": "87ea0fba-e35d-49bd-842d-4a2bfd9cbbce", "historyId": "37b704b51670e9b8685b06e5372712b6", "testCaseId": "37b704b51670e9b8685b06e5372712b6", "fullName": "tests.test_models#test_parse_as", "labels": [{"name": "parentSuite", "value": "tests"}, {"name": "suite", "value": "test_models"}, {"name": "host", "value": "Patricks-MacBook-Pro.local"}, {"name": "thread", "value": "50663-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.test_models"}]}
0 commit comments