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 64da04f commit 80edbd5Copy full SHA for 80edbd5
tests/test_model_component.py
@@ -215,14 +215,13 @@ def test_component_equal_3(self) -> None:
215
self.assertNotEqual(c1, c2)
216
217
def test_component_equal_4(self) -> None:
218
- c = Component(
+ c1 = Component(
219
name='test-component', version='1.2.3', bom_ref='ref1'
220
)
221
c2 = Component(
222
name='test-component', version='1.2.3', bom_ref='ref2'
223
224
-
225
- self.assertNotEqual(c, c2)
+ self.assertNotEqual(c1, c2)
226
227
def test_same_1(self) -> None:
228
c1 = get_component_setuptools_simple()
0 commit comments