File 0001-Remove-test-with-network-dependency.patch of Package openms

From 62b4a9f12fb18e6539e85e43a5e0f9cfb344ddff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Sat, 4 Apr 2026 03:39:22 +0200
Subject: [PATCH] Remove test with network dependency

---
 .../class_tests/openms/source/File_test.cpp      | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/src/tests/class_tests/openms/source/File_test.cpp b/src/tests/class_tests/openms/source/File_test.cpp
index 747affa..662a6f5 100644
--- a/src/tests/class_tests/openms/source/File_test.cpp
+++ b/src/tests/class_tests/openms/source/File_test.cpp
@@ -336,22 +336,6 @@ START_SECTION(File::~TempDir())
 }
 END_SECTION
 
-
-START_SECTION(File::download(std::string url, std::string filename))
-{
-  std::string url = R"(http://raw.githubusercontent.com/OpenMS/OpenMS/refs/heads/develop/README.md)";
-  std::string folder = File::getTempDirectory();
-  File::download(url, folder);
-  std::string output_file_path = folder + "/README.md";
-
-  TEST_EQUAL(File::exists(output_file_path), 1);
-  if (File::exists(output_file_path))
-  {
-    File::removeDir(QString(output_file_path.c_str()));
-  }
-}
-END_SECTION
-
 START_SECTION(static File::MatchingFileListsStatus validateMatchingFileNames(const StringList& sl1, const StringList& sl2, bool basename, bool ignore_extension))
 {
   // Test exact match
-- 
2.53.0

openSUSE Build Service is sponsored by