Exemple #1
0
 def test_name_user(self):
     name = suite.make_run_name('suite',
                                'ceph',
                                'kernel',
                                'flavor',
                                'mtype',
                                user='******')
     assert name.startswith('USER-')
Exemple #2
0
 def test_name_timestamp_passed(self):
     stamp = datetime.now().strftime('%Y-%m-%d_%H:%M:%S')
     name = suite.make_run_name('suite',
                                'ceph',
                                'kernel',
                                'flavor',
                                'mtype',
                                timestamp=stamp)
     assert str(stamp) in name
 def test_name_user(self):
     name = suite.make_run_name('suite', 'ceph', 'kernel', 'flavor',
                                'mtype', user='******')
     assert name.startswith('USER-')
 def test_name_timestamp_not_passed(self):
     stamp = datetime.now().strftime('%Y-%m-%d_%H:%M:%S')
     name = suite.make_run_name('suite', 'ceph', 'kernel', 'flavor',
                                'mtype')
     assert str(stamp) in name
Exemple #5
0
 def test_name_user(self):
     name = suite.make_run_name("suite", "ceph", "kernel", "flavor", "mtype", user="******")
     assert name.startswith("USER-")
Exemple #6
0
 def test_name_timestamp_not_passed(self):
     stamp = datetime.now().strftime("%Y-%m-%d_%H:%M:%S")
     name = suite.make_run_name("suite", "ceph", "kernel", "flavor", "mtype")
     assert str(stamp) in name