def test_backend_import_fallback_empty_backends(): backends = _backend_import_fallback([]) assert len(backends) >= 1
def test_backend_import_fallback_existing_backends(): backend_list = [1, 2, 3, 4] assert backend_list == _backend_import_fallback(backend_list)