Skip to content

Commit

Permalink
Update after release on PyPI
Browse files Browse the repository at this point in the history
Fix TODOs
  • Loading branch information
M1troll committed Nov 15, 2023
1 parent 1bd9408 commit 814db27
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ __pycache__/
.env
.coverage

# Distribution / packaging
dist/

# Folder for locally generated documentation
local-docs/
5 changes: 1 addition & 4 deletions demo/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,8 @@ of the class `Search component <#search-component>`_.
Package Details Page
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. TODO:
Replace with pomcorn details page after release
This class represents the PyPI
`package details page <https://pypi.org/project/saritasa-invocations/>`_.
`package details page <https://pypi.org/project/pomcorn/>`_.

.. image:: ../docs/_static/images/pypi_package_details.png
:alt: Package details page
Expand Down
8 changes: 3 additions & 5 deletions demo/tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ def test_search(index_page: IndexPage):
# Search packages by `saritasa`
search_page = index_page.search.find("saritasa")

# TODO: Replace to 4 after upload `pomcorn`
# Check that presented 3 packages
assert search_page.results.count == 3
# Check that at least 4 packages are presented
assert search_page.results.count >= 4

# Get package by name
# TODO: Replace to `pomcorn` after upload package
package_name = "saritasa-invocations"
package_name = "pomcorn"
package = search_page.results.get_item_by_text(package_name)
assert package.name == package_name

Expand Down

0 comments on commit 814db27

Please sign in to comment.