Show More
@@ -177,9 +177,17 b' class TestSSHEngineLauncher(SSHTest, LauncherTest, TestCase):' | |||||
177 | # Windows Launcher Tests |
|
177 | # Windows Launcher Tests | |
178 | #------------------------------------------------------------------------------- |
|
178 | #------------------------------------------------------------------------------- | |
179 |
|
179 | |||
180 | if sys.platform.startswith("win"): |
|
180 | class WinHPCTest: | |
181 | class TestWinHPCControllerLauncher(ControllerLauncherTest, TestCase): |
|
181 | """Tests for WinHPC Launchers""" | |
182 | launcher_class = launcher.WindowsHPCControllerLauncher |
|
182 | def test_batch_template(self): | |
|
183 | launcher = self.build_launcher() | |||
|
184 | job_file = os.path.join(self.profile_dir, launcher.job_file_name) | |||
|
185 | self.assertEqual(launcher.job_file, job_file) | |||
|
186 | launcher.write_job_file(1) | |||
|
187 | self.assertTrue(os.path.isfile(job_file)) | |||
|
188 | ||||
|
189 | class TestWinHPCControllerLauncher(WinHPCTest, ControllerLauncherTest, TestCase): | |||
|
190 | launcher_class = launcher.WindowsHPCControllerLauncher | |||
183 |
|
191 | |||
184 |
|
|
192 | class TestWinHPCEngineSetLauncher(WinHPCTest, EngineSetLauncherTest, TestCase): | |
185 |
|
|
193 | launcher_class = launcher.WindowsHPCEngineSetLauncher |
General Comments 0
You need to be logged in to leave comments.
Login now