human
Solve the following python programming problem given the following code:
@ requires_qt 
def test_die_on_error_exception() : 
    'Decorator should spawn a QMessageBox and exit' 
    with pytest.raises (SystemExit) : 
        with patch ('glue.utils.qt.QMessageBoxPatched') as qmb : 
            @ die_on_error ('test_msg') 
            def test() : 
                raise Exception () 
test () 
            assert (test.call_count == 1) 

    
    

    Fix the buggy line: assert (test.call_count == 1)
assistant
#Here is Python program to fix the buggy line: assert (test.

assert (qmb.call_count == 1)