enthought / enthought/traits

assert_implements test utility function

Open
#436 0 comments 0 reactions 0 assignees View on GitHub
type: discussion type: enhancement
Dominant language
Python
Stars
462
Forks
90
PR merge metrics
No merged PRs in 30d

Description

When testing adapters/interfaces, an important check is to ensure that a class implements an interface/interfaces, which can be done using the `check_implements` utility function in `traits.interface_checker`.

It might be useful to add a test utility function `assert_implements` for such checks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.