4296519bf6
* Use common library for tests Related blueprint: fuel-library-modularization Fuel-CI: disable Change-Id: I8769748ae79d5a1597eb0f320e0a0ed9581d5a0b
13 lines
342 B
Ruby
13 lines
342 B
Ruby
require File.join File.dirname(__FILE__), '../test_common.rb'
|
|
|
|
class NetconfigPreTest < Test::Unit::TestCase
|
|
|
|
def test_nodes_present_in_hiera
|
|
nodes = TestCommon::Settings.nodes
|
|
assert nodes, 'Could not get the nodes data!'
|
|
assert nodes.is_a?(Array), 'Incorrect nodes data!'
|
|
assert nodes.any?, 'Empty nodes data!'
|
|
end
|
|
|
|
end
|