Skip to content

Commit 0d2c355

Browse files
committed
Corrected typo in README
1 parent 34f421f commit 0d2c355

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ outputter.output_as_string()
9292
```
9393
from cyclonedx.output import get_instance, SchemaVersion
9494
95-
outputter = get_instance(bom=bom, schema_version=SchemaVersion.V1_)
95+
outputter = get_instance(bom=bom, schema_version=SchemaVersion.V1_2)
9696
outputter.output_to_file(filename='/tmp/sbom-v1.2.xml')
9797
```
9898

tests/test_e2e_environment.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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)

0 commit comments

Comments
 (0)