Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 5d179d1

Browse files
committed
Remove 0.5 coverage requirement
1 parent ab3f91e commit 5d179d1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/conv_store/challenge.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ This class represents goods available to purchase in the store.
2828

2929
#. Each product instance should have next attributes:
3030

31-
* ``name`` - a product title (e.g. "apple", "juice")
32-
* ``price`` - a price for a single product unit (e.g. 3655, 500, 12999)
33-
* ``unit`` - a size of a single product's unit (e.g. 1, 0.500, 12)
31+
- ``name`` - a product title (e.g. "apple", "juice")
32+
- ``price`` - a price for a single product unit (e.g. 3655, 500, 12999)
33+
- ``unit`` - a size of a single product's unit (e.g. 1, 0.500, 12)
3434

3535
For example: **apple** costs 1059 for each 0.1 kg. This means ``name``
3636
will store ``"apple"``, ``price`` is ``1059`` and ``unit`` is equal
@@ -42,7 +42,7 @@ This class represents goods available to purchase in the store.
4242
(``int`` or ``float``). In case quantity argument is omitted -
4343
just use ``unit`` attribute value instead.
4444

45-
.. rubric:: Code notes
45+
.. rubric:: Code explanation
4646

4747
.. autoclass:: conv_store.Product
4848
:members: get_total
@@ -248,5 +248,4 @@ Add autotests for ``ShoppingCart`` and ``Product`` models.
248248

249249
#. Tests should be located inside of "tests" directory.
250250
#. ``pytest`` and ``coverage`` libraries will be used for testing.
251-
#. At least 50% coverage.
252251
#. Project dependencies are to be updated.

0 commit comments

Comments
 (0)