def test_test_report_directory(self, project_session):
    (testdir, project) = project_session.activate()
    suite = 'suite1'
    timestamp = '1.2.3.4'
    test = 'test1'
    test_set = 'test_set1'
    path = test_report.test_report_directory(project, suite, timestamp, test, test_set)
    expected = os.path.join(testdir, 'projects', project, 'reports', suite, timestamp, test, test_set)
    assert (path == expected)
def test_test_report_directory(self, project_session):
    (testdir, project) = project_session.activate()
    suite = 'suite1'
    timestamp = '1.2.3.4'
    test = 'test1'
    test_set = 'test_set1'
    path = test_report.test_report_directory(project, suite, timestamp, test, test_set)
    expected = os.path.join(testdir, 'projects', project, 'reports', suite, timestamp, test, test_set)
    assert (path == expected)