Пример #1
0
    def test_to_dict_include_variables__simple_2(self):
        from proflib.models.frame import Frame

        frame = Frame(FrameMock())

        response = frame.to_dict(include_variables=['b']);

        assert 'a' not in response['local_variables']
Пример #2
0
    def test_to_dict_simple(self):
        from proflib.models.frame import Frame

        frame = Frame(FrameMock())

        response = frame.to_dict();

        assert 'a' in response['local_variables']