Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Oct 11, 2023
1 parent 4f6054a commit b607019
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nbs/Helper.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"/tmp/tmp4492dn2w/grand-parent/parent/child/application.py\n",
"/tmp/tmp3i7gtvzn/grand-parent/parent/child/application.py\n",
"\n",
"\n",
"print(\"Hello World\")\n",
Expand Down Expand Up @@ -995,7 +995,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"/tmp/tmpv8rje5w0/grand-parent/parent/child/application.py\n",
"/tmp/tmpa4z2fli7/grand-parent/parent/child/application.py\n",
"\n",
"\n",
"print(\"Hello World\")\n",
Expand Down Expand Up @@ -1031,7 +1031,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"<ExceptionInfo FileNotFoundError(\"Error: The file '/tmp/tmpp4oex7rw/grand-parent/parent/child/application.py' does not exist. Please ensure that the specified 'output_path' is valid and that you have the necessary permissions to access it.\") tblen=2>\n"
"<ExceptionInfo FileNotFoundError(\"Error: The file '/tmp/tmp2zdz501b/grand-parent/parent/child/application.py' does not exist. Please ensure that the specified 'output_path' is valid and that you have the necessary permissions to access it.\") tblen=2>\n"
]
}
],
Expand Down Expand Up @@ -1205,15 +1205,15 @@
"name": "stdout",
"output_type": "stream",
"text": [
"['api', 'kafka', 'getting-started', 'index', 'release', 'nats', 'rabbit']\n"
"['README', 'faststream', '.pre-commit-config', 'CONTRIBUTING', '.github', 'CODE_OF_CONDUCT', 'pyproject', 'docs', 'scripts', 'SECURITY', 'examples', 'LICENSE', 'tests', '.gitignore', '.secrets']\n"
]
}
],
"source": [
"with download_and_extract_github_repo(FASTSTREAM_REPO_ZIP_URL) as extracted_path:\n",
" files = [p.stem for p in list(Path(extracted_path/FASTSTREAM_ROOT_DIR_NAME/FASTSTREAM_DOCS_DIR_SUFFIX).glob(\"*\"))]\n",
" files = [p.stem for p in list(Path(extracted_path/FASTSTREAM_ROOT_DIR_NAME).glob(\"*\"))]\n",
" print(files)\n",
" assert \"index\" in files"
" assert \"pyproject\" in files"
]
},
{
Expand Down

0 comments on commit b607019

Please sign in to comment.