Skip to content

Commit 265c4d8

Browse files
committed
tests
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 6da7563 commit 265c4d8

4 files changed

Lines changed: 44 additions & 7 deletions

File tree

tests/test_contrib/.gitkeep

Whitespace-only changes.

tests/test_contrib/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file is part of CycloneDX Python Library
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# SPDX-License-Identifier: Apache-2.0
16+
# Copyright (c) OWASP Foundation. All Rights Reserved.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This file is part of CycloneDX Python Library
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# SPDX-License-Identifier: Apache-2.0
16+
# Copyright (c) OWASP Foundation. All Rights Reserved.
17+
18+
19+
from unittest import TestCase
20+
21+
from cyclonedx.contrib.bom.utils import BomDependencyGraphFlatMerger
22+
23+
class TestBomDependencyGraphFlatMerger(TestCase):
24+
def test_discriminate_and_reset_with(self) -> None:
25+
... # TODO
26+
27+
def test_discriminate_and_reset_manually(self) -> None:
28+
... # TODO

tests/test_output_json.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,3 @@ def test_get_outputter_expected(self, sv: SchemaVersion) -> None:
117117
self.assertIs(outputter.schema_version, sv)
118118
self.assertIs(outputter.output_format, OutputFormat.JSON)
119119

120-
121-
class TestBomDependencyGraphFlatMerger(TestCase):
122-
def test_discriminate_and_reset_with(self) -> None:
123-
... # TODO
124-
125-
def test_discriminate_and_reset_manually(self) -> None:
126-
... # TODO

0 commit comments

Comments
 (0)