![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Simple assertions library for unit testing in Python with a nice fluent API. Supports both Python 2 and 3.
Just import the assert_that
function, and away you go...::
from assertpy import assert_that
def test_something():
assert_that(1 + 2).is_equal_to(3)
assert_that('foobar').is_length(6).starts_with('foo').ends_with('bar')
assert_that(['a', 'b', 'c']).contains('a').does_not_contain('x')
Of course, assertpy works best with a python test runner like pytest <http://pytest.org/>
_ (our favorite) or Nose <http://nose.readthedocs.org/>
_.
The assertpy library is available via PyPI <https://pypi.org/project/assertpy/>
_.
Just install with::
pip install assertpy
Or, if you are a big fan of conda <https://conda.io/>
_ like we are, there is an
assertpy-feedstock <https://github.com/conda-forge/assertpy-feedstock>
_ for
Conda-Forge <https://conda-forge.org/>
_ that you can use::
conda install assertpy --channel conda-forge
FAQs
Simple assertion library for unit testing in python with a fluent API
We found that assertpy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.