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