陳信宏 Ted CheninDevOps’ holeNose Test: AttributeError: ‘xxx’ object has no attribute ‘filename’When running test with nose, got AttributeError: 'xxx' object has no attribute 'filename' . The root cause and solution.Oct 12, 2023Oct 12, 2023
陳信宏 Ted CheninDevOps’ holeJenkins | How to Always Checkout SVN at Latest RevisionI thought a Jenkins job would checkout SVN latest revision to get the commit which I add during the job.Sep 1, 2023Sep 1, 2023
陳信宏 Ted CheninDevOps’ holePass String with Newlines as Python Command Line ArgumentPassed string with newline as command line argument is not as expect in Python.Aug 21, 2023Aug 21, 2023
陳信宏 Ted CheninDevOps’ holeCaution “Command deprecated (command) — use cpl config”Caution that using some commands on switch terminal would make other deprecated commands not working. Here is my investigation. This is…May 4, 2023May 4, 2023
陳信宏 Ted CheninDevOps’ holeWrong pytest Test Results in VSCodeI use VSCode to develop Python and write some unit tests with pytest. Found that the test results are wrong.Apr 18, 2023Apr 18, 2023
陳信宏 Ted CheninDevOps’ holeJenkins — Scripted and Declarative PipelineI have new tasks for CICD using Jenkins. So I need to write some Jenkins pipelines. Here are the basic concept when you implement a…Apr 14, 2023Apr 14, 2023
陳信宏 Ted CheninDevOps’ holePython unittest.mock broken with importlib.reloadSome tests unittest.mock were broken while any other uses importlib.reload to reload mocked module.Nov 17, 2022Nov 17, 2022
陳信宏 Ted CheninDevOps’ holePython Error“undefined symbol: hid_get_input_report”I got the “undefined symbol: hid_get_input_report” while executing the tests using “hid” module.Nov 9, 2022Nov 9, 2022
陳信宏 Ted CheninDevOps’ holeGitlab CI Fetching Includes Got “Project `xxx` not found or access denied!”Solutions when fetching includes got “Project `xxx` not found or access denied!”Sep 15, 2022Sep 15, 2022
陳信宏 Ted CheninDevOps’ holeDebug in AWS Resources — CloudTrailUse CloudTrail to debug in AWS infrastructures and trace interactions with AWS resources.Sep 15, 2022Sep 15, 2022