Skip to content

Commit

Permalink
fix layer tests (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcakyon authored Aug 29, 2022
1 parent 072ea62 commit cfdd7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_load_layer_model(self, mock_layer_get_model):
# Run assertions
mock_layer_get_model.assert_called_once_with(name=layer_model_path, no_cache=False)

self.assertIsInstance(detection_model, type(Yolov5DetectionModel()))
self.assertIsInstance(detection_model, Yolov5DetectionModel)
self.assertIsInstance(detection_model.model, type(yolo_model))

@mock.patch("layer.get_model")
Expand Down

0 comments on commit cfdd7f6

Please sign in to comment.