Skip to content

Commit

Permalink
Fixed project directory check for Turbinia (#80)
Browse files Browse the repository at this point in the history
* Fixed project directory check for Turbinia

* updated version
  • Loading branch information
wajihyassine committed May 12, 2020
1 parent cbcede4 commit b5334af
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion l2tscaffolder/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
"""defining the version"""
__version__ = '20190314'
__version__ = '20200511'
3 changes: 0 additions & 3 deletions l2tscaffolder/definitions/turbinia.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ def ValidatePath(self, root_path: str) -> bool:
if not os.path.isdir(os.path.join(root_path, 'turbinia')):
return False

if not os.path.isdir(os.path.join(root_path, 'terraform')):
return False

if not os.path.isfile(os.path.join(root_path, 'turbinia', 'evidence.py')):
return False

Expand Down
2 changes: 1 addition & 1 deletion tests/other/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class VersionTest(unittest.TestCase):
def testGetVersion(self):
"""testing the get version"""
actual = l2tscaffolder.__version__
self.assertEqual('20190314', actual)
self.assertEqual('20200511', actual)


if __name__ == '__main__':
Expand Down

0 comments on commit b5334af

Please sign in to comment.