BSD Ports

devel/py-assertpy 1.1_1 DragonFly

Simple assertions library for unit testing in Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
devel, python
Package size
52.8 KiB, 495.9 KiB installed

Description

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...

Of course, assertpy works best with a python test runner like pytest (our favorite) or Nose.

In the other systems

SystemPortVersion
DragonFlydevel/py-assertpy1.1_1
FreeBSDdevel/py-assertpy1.1_1
NetBSDdevel/py-assertpy1.1

Install

Binary package:

pkg install py311-assertpy

From DPorts:

cd /usr/dports/devel/py-assertpy && make install clean

Dependencies

Run dependencies 1

No port depends on this one.