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