Skip to content

Commit

Permalink
deploy: 56f6953
Browse files Browse the repository at this point in the history
  • Loading branch information
fkdosilovic committed Jan 5, 2025
1 parent b6ffc83 commit 79b332d
Show file tree
Hide file tree
Showing 37 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion master/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: d032165e4abf8f7cf65347f91da4dc33
config: ee3c38b3d18e90f0ce39c65616999e5b
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified master/.doctrees/api/api.doctree
Binary file not shown.
Binary file modified master/.doctrees/api/clients.doctree
Binary file not shown.
Binary file modified master/.doctrees/api/errors.doctree
Binary file not shown.
Binary file modified master/.doctrees/api/filesystem.doctree
Binary file not shown.
Binary file modified master/.doctrees/api/retry.doctree
Binary file not shown.
Binary file modified master/.doctrees/api/submission.doctree
Binary file not shown.
Binary file modified master/.doctrees/api/types.doctree
Binary file not shown.
Binary file modified master/.doctrees/contributors_guide/contributing.doctree
Binary file not shown.
Binary file modified master/.doctrees/contributors_guide/release_notes.doctree
Binary file not shown.
Binary file modified master/.doctrees/environment.pickle
Binary file not shown.
Binary file modified master/.doctrees/in_depth/client_resolution.doctree
Binary file not shown.
Binary file modified master/.doctrees/in_depth/overview.doctree
Binary file not shown.
Binary file modified master/.doctrees/index.doctree
Binary file not shown.
8 changes: 4 additions & 4 deletions master/_sources/contributors_guide/contributing.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ the ``tests`` directory and are written using `pytest <https://docs.pytest.org/e

While working with the tests, you should use the following fixtures:

* ``default_ce_client`` - a client, chosen based on the environment variables set, that uses the CE flavor of the client.
* ``default_extra_ce_client`` - a client, chosen based on the environment variables set, that uses the Extra CE flavor of the client.
* ``ce_client`` - a client, chosen based on the environment variables set, that uses the CE flavor of the client.
* ``extra_ce_client`` - a client, chosen based on the environment variables set, that uses the Extra CE flavor of the client.

The ``default_ce_client`` and ``default_extra_ce_client`` are fixtures that
The ``ce_client`` and ``extra_ce_client`` are fixtures that
return a client based on the environment variables set. This enables you to
run the full test suite locally, but also to run the tests on the CI pipeline
without changing the tests.
Expand All @@ -75,7 +75,7 @@ You can use the fixtures in your tests like this:
.. code-block:: python
def test_my_test(request):
client = request.getfixturevalue("default_ce_client") # or default_extra_ce_client
client = request.getfixturevalue("ce_client") # or extra_ce_client
To run the tests locally, you can use the following command:

Expand Down
8 changes: 4 additions & 4 deletions master/contributors_guide/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,16 @@ <h2>Testing<a class="headerlink" href="#testing" title="Link to this heading" x-
the <code class="docutils literal notranslate"><span class="pre">tests</span></code> directory and are written using <a class="reference external" href="https://docs.pytest.org/en/stable/" rel="nofollow noopener">pytest<svg fill="currentColor" height="1em" stroke="none" viewbox="0 96 960 960" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M188 868q-11-11-11-28t11-28l436-436H400q-17 0-28.5-11.5T360 336q0-17 11.5-28.5T400 296h320q17 0 28.5 11.5T760 336v320q0 17-11.5 28.5T720 696q-17 0-28.5-11.5T680 656V432L244 868q-11 11-28 11t-28-11Z"></path></svg></a>.</p>
<p>While working with the tests, you should use the following fixtures:</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">default_ce_client</span></code> - a client, chosen based on the environment variables set, that uses the CE flavor of the client.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">default_extra_ce_client</span></code> - a client, chosen based on the environment variables set, that uses the Extra CE flavor of the client.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ce_client</span></code> - a client, chosen based on the environment variables set, that uses the CE flavor of the client.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">extra_ce_client</span></code> - a client, chosen based on the environment variables set, that uses the Extra CE flavor of the client.</p></li>
</ul>
<p>The <code class="docutils literal notranslate"><span class="pre">default_ce_client</span></code> and <code class="docutils literal notranslate"><span class="pre">default_extra_ce_client</span></code> are fixtures that
<p>The <code class="docutils literal notranslate"><span class="pre">ce_client</span></code> and <code class="docutils literal notranslate"><span class="pre">extra_ce_client</span></code> are fixtures that
return a client based on the environment variables set. This enables you to
run the full test suite locally, but also to run the tests on the CI pipeline
without changing the tests.</p>
<p>You can use the fixtures in your tests like this:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><code><span id="line-1"><span class="k">def</span><span class="w"> </span><span class="nf">test_my_test</span><span class="p">(</span><span class="n">request</span><span class="p">):</span>
</span><span id="line-2"> <span class="n">client</span> <span class="o">=</span> <span class="n">request</span><span class="o">.</span><span class="n">getfixturevalue</span><span class="p">(</span><span class="s2">"default_ce_client"</span><span class="p">)</span> <span class="c1"># or default_extra_ce_client</span>
</span><span id="line-2"> <span class="n">client</span> <span class="o">=</span> <span class="n">request</span><span class="o">.</span><span class="n">getfixturevalue</span><span class="p">(</span><span class="s2">"ce_client"</span><span class="p">)</span> <span class="c1"># or extra_ce_client</span>
</span></code></pre></div>
</div>
<p>To run the tests locally, you can use the following command:</p>
Expand Down
2 changes: 1 addition & 1 deletion master/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v0.0.2/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: d518294d0fc266ffda174e37de4cf77b
config: f498a0e22f6a7294b03e74ba43ee12e4
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified v0.0.2/.doctrees/api/api.doctree
Binary file not shown.
Binary file modified v0.0.2/.doctrees/api/clients.doctree
Binary file not shown.
Binary file modified v0.0.2/.doctrees/api/index.doctree
Binary file not shown.
Binary file modified v0.0.2/.doctrees/api/submission.doctree
Binary file not shown.
Binary file modified v0.0.2/.doctrees/api/types.doctree
Binary file not shown.
Binary file modified v0.0.2/.doctrees/contributors_guide/contributing.doctree
Binary file not shown.
Binary file modified v0.0.2/.doctrees/contributors_guide/index.doctree
Binary file not shown.
Binary file modified v0.0.2/.doctrees/contributors_guide/release_notes.doctree
Binary file not shown.
Binary file modified v0.0.2/.doctrees/environment.pickle
Binary file not shown.
Binary file modified v0.0.2/.doctrees/index.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion v0.0.3/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: c9fa719a347ba853ad433a10c55f2881
config: 34a97781a49911a5eb80e2f5f3ea13d4
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified v0.0.3/.doctrees/api/api.doctree
Binary file not shown.
Binary file modified v0.0.3/.doctrees/api/clients.doctree
Binary file not shown.
Binary file modified v0.0.3/.doctrees/api/submission.doctree
Binary file not shown.
Binary file modified v0.0.3/.doctrees/api/types.doctree
Binary file not shown.
Binary file modified v0.0.3/.doctrees/contributors_guide/contributing.doctree
Binary file not shown.
Binary file modified v0.0.3/.doctrees/contributors_guide/release_notes.doctree
Binary file not shown.
Binary file modified v0.0.3/.doctrees/environment.pickle
Binary file not shown.
Binary file modified v0.0.3/.doctrees/index.doctree
Binary file not shown.

0 comments on commit 79b332d

Please sign in to comment.