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