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 74cbe81
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 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/
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pomcorn
===============================================================================

.. image:: https://img.shields.io/github/actions/workflow/status/saritasa-nest/pomcorn/checks.yml
.. image:: https://img.shields.io/github/actions/workflow/status/saritasa-nest/pomcorn/pre-commit.yml
:target: https://img.shields.io/
:alt: GitHub Workflow Status (with event)

Expand Down
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
Binary file modified docs/_static/images/pypi_package_details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 74cbe81

Please sign in to comment.