File tree Expand file tree Collapse file tree 7 files changed +15
-13
lines changed Expand file tree Collapse file tree 7 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Install the extension with dependencies and go::
31
31
Contributing
32
32
------------
33
33
34
- Don' t hesitate to create a `GitHub issue <https://github.com/vitalk/pytest-flask/issues >`__ for any bug or
34
+ Don’ t hesitate to create a `GitHub issue <https://github.com/vitalk/pytest-flask/issues >`__ for any bug or
35
35
suggestion.
36
36
37
37
.. |PyPI version | image :: https://img.shields.io/pypi/v/pytest-flask.svg
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ Changelog
6
6
Upcoming release
7
7
-----------------
8
8
9
+ - Minor typography improvements in documentation.
10
+
9
11
- Add changelog to documentation.
10
12
11
13
0.10.0 (compared to 0.9.0)
@@ -84,7 +86,7 @@ Upcoming release
84
86
-----
85
87
86
88
- Bind live server to a random port instead of 5000 or whatever is passed on
87
- the command line, so it' s possible to execute tests in parallel via
89
+ the command line, so it’ s possible to execute tests in parallel via
88
90
pytest-dev/pytest-xdist (#15). Thanks to @davehunt.
89
91
90
92
- Remove ``--liveserver-port `` option.
Original file line number Diff line number Diff line change 20
20
Where are the tests?
21
21
--------------------
22
22
23
- Good that you' re asking. The repository test suite is located in ``tests ``
23
+ Good that you’ re asking. The repository test suite is located in ``tests ``
24
24
directory. Makefile defines a target to run them::
25
25
26
26
make test
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ other headless browsers).
124
124
125
125
.. hint ::
126
126
127
- The server' s URL can be retrieved using the ``url_for `` function.
127
+ The server’ s URL can be retrieved using the ``url_for `` function.
128
128
129
129
.. code :: python
130
130
@@ -143,14 +143,14 @@ other headless browsers).
143
143
```````````````````````````````````````````````````````````````````
144
144
145
145
146
- ``--no-start-live-server `` - don' t start live server automatically
146
+ ``--no-start-live-server `` - don’ t start live server automatically
147
147
``````````````````````````````````````````````````````````````````
148
148
149
149
By default the server is starting automatically whenever you reference
150
150
``live_server `` fixture in your tests. But starting live server imposes some
151
151
high costs on tests that need it when they may not be ready yet. To prevent
152
152
that behaviour pass ``--no-start-live-server `` into your default options (for
153
- example, in your project' s ``pytest.ini `` file)::
153
+ example, in your project’ s ``pytest.ini `` file)::
154
154
155
155
[pytest]
156
156
addopts = --no-start-live-server
@@ -182,7 +182,7 @@ The request context which contains all request relevant information.
182
182
.. hint ::
183
183
184
184
The request context has been pushed implicitly any time the ``app ``
185
- fixture is applied and is kept around during test execution, so it' s easy
185
+ fixture is applied and is kept around during test execution, so it’ s easy
186
186
to introspect the data:
187
187
188
188
.. code :: python
Original file line number Diff line number Diff line change 1
- Welcome to pytest-flask' s documentation!
1
+ Welcome to pytest-flask’ s documentation!
2
2
========================================
3
3
4
4
Pytest-flask is a plugin for `pytest <http://pytest.org >`_ that provides
5
5
a set of useful tools to test `Flask <http://flask.pocoo.org >`_ applications
6
6
and extensions.
7
7
8
8
9
- User' s Guide
9
+ User’ s Guide
10
10
------------
11
11
12
12
This part of the documentation will show you how to get started in using
@@ -47,6 +47,6 @@ And run your test suite::
47
47
Contributing
48
48
------------
49
49
50
- Don' t hesitate to create a `GitHub issue
50
+ Don’ t hesitate to create a `GitHub issue
51
51
<https://github.com/vitalk/pytest-flask/issues> `_ for any **bug ** or
52
52
**suggestion **.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Use the ``py.test`` command to run your test suite::
43
43
documentation `_.
44
44
45
45
46
- What' s next?
46
+ What’ s next?
47
47
------------
48
48
49
49
The :ref: `features ` section gives a more detailed view of available features, as
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def test_api_ping(client):
52
52
assert res.json == {'ping': 'pong'}
53
53
54
54
If you want your tests done via Selenium or other headless browser use
55
- the ``live_server`` fixture. The server' s URL can be retrieved using
55
+ the ``live_server`` fixture. The server’ s URL can be retrieved using
56
56
the ``url_for`` function:
57
57
58
58
.. code:: python
@@ -97,7 +97,7 @@ def app():
97
97
Contributing
98
98
------------
99
99
100
- Don' t hesitate to create a `GitHub issue
100
+ Don’ t hesitate to create a `GitHub issue
101
101
<https://github.com/vitalk/pytest-flask/issues>`_ for any **bug** or
102
102
**suggestion**.
103
103
You can’t perform that action at this time.
0 commit comments