File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ outputter.output_as_string()
92
92
```
93
93
from cyclonedx.output import get_instance, SchemaVersion
94
94
95
- outputter = get_instance(bom=bom, schema_version=SchemaVersion.V1_ )
95
+ outputter = get_instance(bom=bom, schema_version=SchemaVersion.V1_2 )
96
96
outputter.output_to_file(filename='/tmp/sbom-v1.2.xml')
97
97
```
98
98
Original file line number Diff line number Diff line change
1
+ from unittest import TestCase
2
+
3
+ from cyclonedx .parser .environment import EnvironmentParser
4
+
5
+
6
+ class TestRequirementsParser (TestCase ):
7
+
8
+ def test_simple (self ):
9
+ """
10
+ @todo This test is a vague as it will detect the unique environment where tests are being executed -
11
+ so is this valid?
12
+
13
+ :return:
14
+ """
15
+ parser = EnvironmentParser ()
16
+ self .assertGreater (parser .component_count (), 1 )
You can’t perform that action at this time.
0 commit comments