From 09dfeeeff2fb428786dca703f9442ac28721858e Mon Sep 17 00:00:00 2001 From: Kai Szuttor Date: Mon, 17 Jun 2019 09:43:28 +0200 Subject: [PATCH] doc: removed remaining swimmer reaction files. --- doc/tutorials/CMakeLists.txt | 1 - testsuite/scripts/tutorials/CMakeLists.txt | 1 - .../test_09-swimmer_reactions__reaction.py | 41 ------------------- 3 files changed, 43 deletions(-) delete mode 100644 testsuite/scripts/tutorials/test_09-swimmer_reactions__reaction.py diff --git a/doc/tutorials/CMakeLists.txt b/doc/tutorials/CMakeLists.txt index 7e75329b74e..2be619f0e30 100644 --- a/doc/tutorials/CMakeLists.txt +++ b/doc/tutorials/CMakeLists.txt @@ -76,7 +76,6 @@ add_custom_target(tutorials tutorials_06 tutorials_07 tutorials_08 - tutorials_09 tutorials_10 tutorials_11 ) diff --git a/testsuite/scripts/tutorials/CMakeLists.txt b/testsuite/scripts/tutorials/CMakeLists.txt index 0fd3c09433d..8b56fdd975d 100644 --- a/testsuite/scripts/tutorials/CMakeLists.txt +++ b/testsuite/scripts/tutorials/CMakeLists.txt @@ -35,7 +35,6 @@ tutorial_test(FILE test_06-active_matter__enhanced_diffusion.py) tutorial_test(FILE test_06-active_matter__rectification_simulation.py) tutorial_test(FILE test_07-electrokinetics__scripts.py LABELS "gpu") tutorial_test(FILE test_08-visualization.py) -tutorial_test(FILE test_09-swimmer_reactions__reaction.py) tutorial_test(FILE test_10-reaction_ensemble__scripts__RE_vs_cpH.py) tutorial_test(FILE test_10-reaction_ensemble__scripts__RE_vs_cpH_poly.py) tutorial_test(FILE test_11-ferrofluid_1.py) diff --git a/testsuite/scripts/tutorials/test_09-swimmer_reactions__reaction.py b/testsuite/scripts/tutorials/test_09-swimmer_reactions__reaction.py deleted file mode 100644 index 99736152be6..00000000000 --- a/testsuite/scripts/tutorials/test_09-swimmer_reactions__reaction.py +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright (C) 2019 The ESPResSo project -# -# This file is part of ESPResSo. -# -# ESPResSo is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# ESPResSo is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -import unittest as ut -import importlib_wrapper -import os - -tutorial, skipIfMissingFeatures = importlib_wrapper.configure_and_import( - "@TUTORIALS_DIR@/09-swimmer_reactions/SOLUTIONS/reaction.py", - cmd_arguments=[1], equi_steps=250, equi_length=10, prod_steps=200, - prod_length=10) - - -@skipIfMissingFeatures -class Tutorial(ut.TestCase): - system = tutorial.system - - def test_file_generation(self): - for name in ["msd_0.dat", "avacf_0.dat"]: - filepath = os.path.join(tutorial.outdir, name) - self.assertTrue( - os.path.isfile(filepath), - filepath + " not created") - - -if __name__ == "__main__": - ut.main()