aboutsummaryrefslogtreecommitdiff
path: root/python/dep_tag_TEST.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/dep_tag_TEST.py')
-rwxr-xr-xpython/dep_tag_TEST.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/dep_tag_TEST.py b/python/dep_tag_TEST.py
index bcde430b1..1b3a2ac86 100755
--- a/python/dep_tag_TEST.py
+++ b/python/dep_tag_TEST.py
@@ -28,7 +28,7 @@ class TestCase_01_DepTag(unittest.TestCase):
class TestCase_02_GLSADepTag(unittest.TestCase):
def setUp(self):
global dt
- dt = GLSADepTag("id", "title")
+ dt = GLSADepTag("id", "title", "/path")
def test_01_instance(self):
self.assert_(isinstance(dt, DepTag))
@@ -37,6 +37,7 @@ class TestCase_02_GLSADepTag(unittest.TestCase):
self.assertEquals(dt.category, "glsa")
self.assertEquals(dt.short_text, "GLSA-id")
self.assertEquals(dt.glsa_title, "title")
+ self.assertEquals(dt.glsa_file, "/path")
class TestCase_03_GeneralSetDepTag(unittest.TestCase):
def setUp(self):