178
173
def test_mutter_callsite_1(self):
179
174
"""mutter_callsite can capture 1 level of stack frame."""
180
175
mutter_callsite(1, "foo %s", "a string")
183
178
self.assertLogStartsWith(log, 'foo a string\nCalled from:\n')
184
179
# should show two frame: this frame and the one above