
def test_filter_strings(wish):
    accept_names = wish
    names = ['has MARK', 'does not have']
    accept_pattern = '.*MARK.*'

def test_filter_strings_basic(wish):
    filter_strings = wish
    input = ['has MARK', 'does not have']
    expected_ouput = ['has MARK']
    accept_pattern = '.*MARK.*'
    assert list(filter_strings(input, accept_pattern)) == expected_ouput

Complete unfinished code committed by mistake.
Complete unfinished code committed by mistake.

  
- def test_filter_strings(wish):
+ def test_filter_strings_basic(wish):
-     accept_names = wish
+     filter_strings = wish
-     names = ['has MARK', 'does not have']
+     input = ['has MARK', 'does not have']
+     expected_ouput = ['has MARK']
      accept_pattern = '.*MARK.*'
+     assert list(filter_strings(input, accept_pattern)) == expected_ouput
+ 
Complete unfinished code committed by mistake.
## Code Before:

def test_filter_strings(wish):
    accept_names = wish
    names = ['has MARK', 'does not have']
    accept_pattern = '.*MARK.*'
## Instruction:
Complete unfinished code committed by mistake.
## Code After:

def test_filter_strings_basic(wish):
    filter_strings = wish
    input = ['has MARK', 'does not have']
    expected_ouput = ['has MARK']
    accept_pattern = '.*MARK.*'
    assert list(filter_strings(input, accept_pattern)) == expected_ouput
