1144
1145
def test__import_resources_exits_early_if_lock_held(self):
1145
1146
has_synced_resources = self.patch_autospec(
1146
1147
bootresources, "has_synced_resources")
1150
1150
# The test for already-synced resources is not called if the
1152
1152
self.assertThat(has_synced_resources, MockNotCalled())