test/rbbt/hpc/test_batch.rb in rbbt-util-5.37.8 vs test/rbbt/hpc/test_batch.rb in rbbt-util-5.37.9
- old
+ new
@@ -1,11 +1,14 @@
require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb')
require 'rbbt/hpc/batch'
require 'rbbt/workflow'
-Workflow.require_workflow "Sample"
-Workflow.require_workflow "HTS"
class TestSLURM < Test::Unit::TestCase
+
+ def setup
+ Workflow.require_workflow "Sample"
+ Workflow.require_workflow "HTS"
+ end
def test_batch_options
job = Sample.job(:mutect2, "small", :reference => "hg38")
TmpFile.with_file do |batch_dir|