|
1 | 1 | <div align="center">
|
2 |
| - <img alt="Decoy logo" src="https://mike.cousins.io/decoy/img/decoy.png" width="256px"> |
| 2 | + <img alt="Decoy logo" src="https://michael.cousins.io/decoy/img/decoy.png" width="256px"> |
3 | 3 | <h1 class="decoy-title">Decoy</h1>
|
4 | 4 | <p>Opinionated mocking library for Python</p>
|
5 | 5 | <p>
|
|
11 | 11 | <a title="Supported Python Versions" href="https://pypi.org/project/decoy/"><img src="https://img.shields.io/pypi/pyversions/decoy?style=flat-square"></a>
|
12 | 12 | </p>
|
13 | 13 | <p>
|
14 |
| - <a href="https://mike.cousins.io/decoy/" class="decoy-hidden">Usage guide and documentation</a> |
| 14 | + <a href="https://michael.cousins.io/decoy/" class="decoy-hidden">Usage guide and documentation</a> |
15 | 15 | </p>
|
16 | 16 | </div>
|
17 | 17 |
|
@@ -59,8 +59,8 @@ plugins = decoy.mypy
|
59 | 59 |
|
60 | 60 | Decoy works well with [pytest][], but if you use another testing library or framework, you can still use Decoy! You just need to do two things:
|
61 | 61 |
|
62 |
| -1. Create a new instance of [`Decoy()`](https://mike.cousins.io/decoy/api/#decoy.Decoy) before each test |
63 |
| -2. Call [`decoy.reset()`](https://mike.cousins.io/decoy/api/#decoy.Decoy.reset) after each test |
| 62 | +1. Create a new instance of [`Decoy()`](https://michael.cousins.io/decoy/api/#decoy.Decoy) before each test |
| 63 | +2. Call [`decoy.reset()`](https://michael.cousins.io/decoy/api/#decoy.Decoy.reset) after each test |
64 | 64 |
|
65 | 65 | For example, using the built-in [unittest][] framework, you would use the `setUp` fixture method to do `self.decoy = Decoy()` and the `tearDown` method to call `self.decoy.reset()`. For a working example, see [`tests/test_unittest.py`](https://github.com/mcous/decoy/blob/main/tests/test_unittest.py).
|
66 | 66 |
|
@@ -144,8 +144,8 @@ See [spying with verify][] for more details.
|
144 | 144 | [unittest]: https://docs.python.org/3/library/unittest.html
|
145 | 145 | [typing]: https://docs.python.org/3/library/typing.html
|
146 | 146 | [mypy]: https://mypy.readthedocs.io/
|
147 |
| -[api reference]: https://mike.cousins.io/decoy/api/ |
148 |
| -[usage guide]: https://mike.cousins.io/decoy/usage/create/ |
149 |
| -[creating mocks]: https://mike.cousins.io/decoy/usage/create/ |
150 |
| -[stubbing with when]: https://mike.cousins.io/decoy/usage/when/ |
151 |
| -[spying with verify]: https://mike.cousins.io/decoy/usage/verify/ |
| 147 | +[api reference]: https://michael.cousins.io/decoy/api/ |
| 148 | +[usage guide]: https://michael.cousins.io/decoy/usage/create/ |
| 149 | +[creating mocks]: https://michael.cousins.io/decoy/usage/create/ |
| 150 | +[stubbing with when]: https://michael.cousins.io/decoy/usage/when/ |
| 151 | +[spying with verify]: https://michael.cousins.io/decoy/usage/verify/ |
0 commit comments