
def test_filter_strings(wish):
    accept_names = wish
    names = ['has MARK', 'does not have']
    accept_pattern = '.*MARK.*'
@@ -17,16 +17,22 @@
 _strings
+_basic
 (wish):%0A
@@ -39,19 +39,21 @@
     
-accept_name
+filter_string
 s = 
@@ -65,13 +65,13 @@
     
-names
+input
  = %5B
@@ -107,31 +107,139 @@
     
-accept_pattern = '.*MARK.*'
+expected_ouput = %5B'has MARK'%5D%0A    accept_pattern = '.*MARK.*'%0A    assert list(filter_strings(input, accept_pattern)) == expected_ouput%0A

Complete unfinished code committed by mistake.