From 834584f3e58e7ebdd141982fb3931dccd37f9c24 Mon Sep 17 00:00:00 2001 From: hacktobeer Date: Fri, 2 Aug 2024 12:14:18 +0200 Subject: [PATCH] updated test code --- docs/developer/turbinia-codelab-analyser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer/turbinia-codelab-analyser.md b/docs/developer/turbinia-codelab-analyser.md index 968a1b9d0..d2f265cd2 100644 --- a/docs/developer/turbinia-codelab-analyser.md +++ b/docs/developer/turbinia-codelab-analyser.md @@ -418,7 +418,7 @@ class OSInfoAnalysisTaskTest(unittest.TestCase): @mock.patch( "builtins.open", new=mock.mock_open(read_data=_OS_RELEASE_CONTENT), create=True) - @mock.patch('os.path.join', return_value='/etc/os-release') + @mock.patch('os.path.join', return_value='etc/os-release') def test_run(self, os_join_mock): """Test OSInfoAnalysisTask task run.""" task = os_info.OSInfoAnalysisTask()