Should

Latest version: v0.5.4

Safety actively analyzes 629532 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.4.7

~~~~~~~~~~~~~~~~

* 添加 `within` 接口
* should.py 文件中添加自文档
* 添加 `proper` / `own_proper` 接口

0.4.6

~~~~~~~~~~~~~~~~

* fix 2. match 不支持多行
* 添加 `search` 接口, 与 `match` 等价, 但更贴近 Python re 的接口

0.4.5

~~~~~~~~~~~~~~~~

* 增加 `match` 接口, 进行正则匹配断言
* 增加 `empty` 属性, 直接判断容器或序列是否为空
* 只有连接词, be, have 会出现在 Assertion Error 中
* `throw` 接口支持断言 throw 信息

0.4.4

~~~~~~~~~~~~~~~~

* 安装失败修复

0.4.3

~~~~~~~~~~~~~~~~

* 类型断言如 `it(1).should.be.int` 支持所有内建类型
* 添加 `instanceof` 断言, 支持其它类型或弱类型断言
* 链式调用 'be'/'have' 时, Error 信息正确显示 have 和 be

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.