tests: split off update class

This commit is contained in:
2014-12-16 16:46:28 +01:00
parent 7494c913bc
commit 711c39fc26

View File

@@ -860,6 +860,15 @@ class BamCheckoutTest(BamSessionTestCase):
# checkout inside of the existing session, should raise exception # checkout inside of the existing session, should raise exception
self.assertRaises(RuntimeError, bam_run, ["checkout", file_name, "--output", session_path], session_path) self.assertRaises(RuntimeError, bam_run, ["checkout", file_name, "--output", session_path], session_path)
class BamUpdateTest(BamSessionTestCase):
"""Test for the `bam update` command.
"""
def __init__(self, *args):
self.init_defaults()
super().__init__(*args)
def test_update_blank(self): def test_update_blank(self):
session_name = "mysession" session_name = "mysession"
proj_path, session_path = self.init_session(session_name) proj_path, session_path = self.init_session(session_name)