We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb72436 commit f96eb78Copy full SHA for f96eb78
test/xccdf/benchmark_test.rb
@@ -14,6 +14,7 @@
14
require 'openscap/ds/sds'
15
require 'openscap/source'
16
require 'openscap/xccdf/benchmark'
17
+require 'openscap/xccdf/policy_model'
18
19
class TestBenchmark < OpenSCAP::TestCase
20
def test_new_from_file
@@ -112,6 +113,12 @@ def test_items_fixes
112
113
b.destroy
114
end
115
116
+ def test_policy_model_creation
117
+ b = benchmark_from_file
118
+ pm = OpenSCAP::Xccdf::PolicyModel.new b
119
+ pm.destroy
120
+ end
121
+
122
private
123
124
def benchmark_from_file
0 commit comments