Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed Apr 7, 2021
1 parent e85e8b1 commit 41228ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/core/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,8 @@ def test_model_download(tmpdir, cls, filename):
def test_available_backbones():
backbones = ImageClassifier.available_backbones()
assert "resnet152" in backbones

class Foo(ImageClassifier):
backbones = None

assert Foo.available_backbones() == []

0 comments on commit 41228ba

Please sign in to comment.