projects
/
rnaseq-cwl-training.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make relative_base_path available to syllabus
[rnaseq-cwl-training.git]
/
bin
/
test_lesson_check.py
diff --git
a/bin/test_lesson_check.py
b/bin/test_lesson_check.py
index 743d0cf45774cc1cc13d7e268b1fb1a6bb46c6fa..960059e8d6b0090c7ac8748ded69626fb4a9aefa 100755
(executable)
--- a/
bin/test_lesson_check.py
+++ b/
bin/test_lesson_check.py
@@
-1,11
+1,14
@@
+#!/usr/bin/env python3
+
import unittest
import lesson_check
import util
import unittest
import lesson_check
import util
+
class TestFileList(unittest.TestCase):
def setUp(self):
class TestFileList(unittest.TestCase):
def setUp(self):
- self.reporter = util.Reporter() #
#
TODO: refactor reporter class.
+ self.reporter = util.Reporter() # TODO: refactor reporter class.
def test_file_list_has_expected_entries(self):
# For first pass, simply assume that all required files are present
def test_file_list_has_expected_entries(self):
# For first pass, simply assume that all required files are present
@@
-15,5
+18,6
@@
class TestFileList(unittest.TestCase):
lesson_check.check_fileset('', self.reporter, all_filenames)
self.assertEqual(len(self.reporter.messages), 0)
lesson_check.check_fileset('', self.reporter, all_filenames)
self.assertEqual(len(self.reporter.messages), 0)
+
if __name__ == "__main__":
unittest.main()
if __name__ == "__main__":
unittest.main()