-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2826730
commit 996b471
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
__author__ = 'Grzegorz Latuszek, Marcin Usielski' | ||
__copyright__ = 'Copyright (C) 2018-2021, Nokia' | ||
__copyright__ = 'Copyright (C) 2018-2023, Nokia' | ||
__email__ = '[email protected], [email protected]' | ||
|
||
import importlib | ||
|
@@ -379,6 +379,8 @@ def test_connection_observer_has_data_received_api(connection_observer_major_bas | |
with pytest.raises(TypeError) as error: | ||
hasattr(connection_observer_class(), "data_received") | ||
assert "Can't instantiate abstract class {} with abstract method".format( | ||
connection_observer_class.__name__) in str(error.value) or\ | ||
"Can't instantiate abstract class {} without an implementation for abstract method".format( | ||
connection_observer_class.__name__) in str(error.value) | ||
assert "data_received" in str(error.value) | ||
|
||
|