From aa79c9db6674deb205c7741e11d5520c76217b8d Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 1 Mar 2021 16:26:03 +0100 Subject: Added tests for test/captured --- minishell_test/test/captured.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'minishell_test') diff --git a/minishell_test/test/captured.py b/minishell_test/test/captured.py index c55b38e..6481dcf 100644 --- a/minishell_test/test/captured.py +++ b/minishell_test/test/captured.py @@ -6,15 +6,12 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/09/11 12:16:25 by charles #+# #+# # -# Updated: 2021/03/01 16:02:26 by cacharle ### ########.fr # +# Updated: 2021/03/01 16:15:31 by cacharle ### ########.fr # # # # ############################################################################ # -import re from typing import List, Optional -from minishell_test.config import Config - class Captured: def __init__( @@ -38,7 +35,7 @@ class Captured: def __eq__(self, other: object) -> bool: if not isinstance(other, Captured): - raise NotImplementedError + return False if self.is_timeout: return self.is_timeout == other.is_timeout return (self.output == other.output and -- cgit