aboutsummaryrefslogtreecommitdiff
path: root/minishell_test/test/captured.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-03-01 16:26:03 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-03-01 16:26:03 +0100
commitaa79c9db6674deb205c7741e11d5520c76217b8d (patch)
tree35de4f9eedaf310f83074f74c8c6444480606748 /minishell_test/test/captured.py
parent6848c33412a4f57ae4de6a05d27a5b767ce89fe1 (diff)
downloadminishell_test-aa79c9db6674deb205c7741e11d5520c76217b8d.tar.gz
minishell_test-aa79c9db6674deb205c7741e11d5520c76217b8d.tar.bz2
minishell_test-aa79c9db6674deb205c7741e11d5520c76217b8d.zip
Added tests for test/captured
Diffstat (limited to 'minishell_test/test/captured.py')
-rw-r--r--minishell_test/test/captured.py7
1 files changed, 2 insertions, 5 deletions
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 <me@cacharle.xyz> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# 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