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