def test_dont_inherit_others(self):
        # This might not be easy!
        parent = self.api.not_inheriting_others
        child = parent.descendent

        parent(1, some_param=0)
        parent_url = self.dummy.lastUrl

        # Assert that the last request was as described
        self.assertTrue("post_data" in self.dummy.lastParams)
        self.assertTrue("def_param" in self.dummy.lastParams["post_data"])
        self.assertTrue("some_param" in self.dummy.lastParams["post_data"])

        self.assertEqual(self.dummy.lastParams["post_data"]["some_param"], 0)

        child(1, some_param=0)
        # Check that the child wasn't still set as POST
        self.assertFalse("post_data" in self.dummy.lastParams)
        self.assertTrue(self.dummy.lastParams in "parameters")
        # Also check that default parameter wasn't still set.
        self.assertFalse("def_param" in self.dummy.lastParams["parameters"])
        self.assertTrue("some_param" in self.dummy.lastParams["parameters"])
        self.assertEqual(self.dummy.lastParams["parameters"]["some_param"], 0)
dataset/ETHPy150Open domrout/python-twitter-wrapper/tests/test_api_methods.py/YAMLLoadingTests.test_dont_inherit_others/swapped operands of `in`