test/commands/unipept/test_taxa2lca.rb in unipept-1.1.0 vs test/commands/unipept/test_taxa2lca.rb in unipept-1.1.1
- old
+ new
@@ -8,9 +8,15 @@
assert_raises RuntimeError do
taxa2lca.default_batch_size
end
end
+ def test_required_fields
+ command = Cri::Command.define { name 'taxa2lca' }
+ taxa2lca = Commands::Taxa2lca.new({ host: 'http://api.unipept.ugent.be' }, [], command)
+ assert_equal([], taxa2lca.required_fields)
+ end
+
def test_help
out, _err = capture_io_while do
assert_raises SystemExit do
Commands::Unipept.run(%w(taxa2lca -h))
end