We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2b7b3a commit 3db32b8Copy full SHA for 3db32b8
legacy/mbed-ls/test/platform_database.py
@@ -70,7 +70,9 @@ def test_broken_database_bad_json(self):
70
def test_broken_database(self):
71
"""Verify that the platform database correctly reset's its database
72
"""
73
- with patch("mbed_os_tools.detect.platform_database.open") as _open:
+ with patch("mbed_os_tools.detect.platform_database.open") as _open,\
74
+ patch("mbed_os_tools.detect.platform_database._older_than_me") as _older:
75
+ _older.return_value = False
76
stringio = MagicMock()
77
_open.side_effect = (IOError("Bogus"), stringio)
78
self.pdb = PlatformDatabase([LOCAL_PLATFORM_DATABASE])
0 commit comments