Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Dec 9, 2019
1 parent 72c2dfc commit 98ddfe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_likelihood(self):
"""
Test a likelihood
"""
self.assertEqual(self.likelihood['name'], '.5')
self.assertEqual(self.likelihood['name'], '0.5')
self.assertEqual(self.likelihood['lam'], .5)


Expand Down
1 change: 1 addition & 0 deletions tests/test_vulnerability.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class TestVulnerabilities(unittest.TestCase):
"""
def setUp(self):
self.vulnerabilities = Vulnerabilities()
self.threat_sources = ThreatSources()
self.threat_sources.new('test')
self.threat_event = ThreatEvent('test event', self.threat_sources['test'])
self.system = Tree(name='test tree')
Expand Down

0 comments on commit 98ddfe1

Please sign in to comment.