def test_is_not_stream(mock_rfm_filename): with open(mock_rfm_filename, 'r') as manifest: assert MinidClient._is_stream(manifest) is False
def test_is_stream(mock_streamed_rfm): with open('magic_file.json', 'r') as manifest: assert MinidClient._is_stream(manifest) is True