From 0a104470aef631e5d96a17c4d8d05ac662058797 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Wed, 5 Feb 2025 10:11:32 -0500 Subject: [PATCH] add a simple test for the lha --- test/job/adapters/linux_host_test.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/job/adapters/linux_host_test.rb diff --git a/test/job/adapters/linux_host_test.rb b/test/job/adapters/linux_host_test.rb new file mode 100644 index 00000000..87b4765a --- /dev/null +++ b/test/job/adapters/linux_host_test.rb @@ -0,0 +1,15 @@ +require 'test_helper' + +class LinuxHostTest < Minitest::Test + include TestHelper + + def linux_host_instance(config = { singularity_image: '/dev/null' }) + OodCore::Job::Factory.build({ adapter: 'linux_host' }.merge(config)) + end + + def test_instantiation + lha = linux_host_instance + + refute_nil(lha) + end +end \ No newline at end of file