def test_no_args(self):
        def func():
            pass

        self.assertEqual(
            data_generators.get_kwargs(func),
            {},
        )
    def test_args_and_kwargs(self):
        def func(a, b=2):
            pass

        self.assertEqual(
            data_generators.get_kwargs(func),
            {'b': 2},
        )
    def test_one_kwargs(self):
        def func(a=1):
            pass

        self.assertEqual(
            data_generators.get_kwargs(func),
            {'a': 1},
        )
    def test_two_kwargs(self):
        def func(a=1, b=2):
            pass

        self.assertEqual(
            data_generators.get_kwargs(func),
            {
                'a': 1,
                'b': 2
            },
        )