You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/testing/index.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -141,9 +141,9 @@ <h1 id="testing">Testing</h1>
141
141
and the application, so data isolation between tests is achieved through
142
142
fast transaction rollback.</p>
143
143
<p>You can see these capabilities in the examples:</p>
144
-
<p><ahref="https://github.com/krylosov-aa/context-async-sqlalchemy/blob/main/examples/fastapi_example/tests/transactional/__init__.py">Here are tests with a common transaction between the
144
+
<p><ahref="https://github.com/krylosov-aa/context-async-sqlalchemy/blob/main/examples/fastapi_example/tests/transactional">Here are tests with a common transaction between the
145
145
application and the tests.</a></p>
146
-
<p><ahref="https://github.com/krylosov-aa/context-async-sqlalchemy/blob/main/examples/fastapi_example/tests/non_transactional/__init__.py">And here's an example with different transactions.</a></p>
146
+
<p><ahref="https://github.com/krylosov-aa/context-async-sqlalchemy/blob/main/examples/fastapi_example/tests/non_transactional">And here's an example with different transactions.</a></p>
147
147
<h2id="create-session-with-autorollback">Create session with autorollback</h2>
148
148
<p><code>rollback_session</code> creates a session that always rolls back automatically.</p>
Copy file name to clipboardExpand all lines: docs_sources/docs/testing.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,10 +54,10 @@ fast transaction rollback.
54
54
You can see these capabilities in the examples:
55
55
56
56
[Here are tests with a common transaction between the
57
-
application and the tests.](https://github.com/krylosov-aa/context-async-sqlalchemy/blob/main/examples/fastapi_example/tests/transactional/__init__.py)
57
+
application and the tests.](https://github.com/krylosov-aa/context-async-sqlalchemy/blob/main/examples/fastapi_example/tests/transactional)
58
58
59
59
60
-
[And here's an example with different transactions.](https://github.com/krylosov-aa/context-async-sqlalchemy/blob/main/examples/fastapi_example/tests/non_transactional/__init__.py)
60
+
[And here's an example with different transactions.](https://github.com/krylosov-aa/context-async-sqlalchemy/blob/main/examples/fastapi_example/tests/non_transactional)
0 commit comments