def test_non_existing_method(self):
        """
        Tests that the import_method will return None on a non existing method
        """

        method = import_method("abc.abc.doesnotexist.for_sure")
        self.assertIsNone(method)
    def test_import_existing_method(self):
        """
        Tests that we can import an existing method
        """

        method = import_method("os.path.dirname")
        self.assertIsNotNone(method)
 def test_import_existing_custom_method(self):
     """
     Tests that we can import a custom user method
     """
     method = import_method("example.example_app.tests.fake_functions.fake")
     self.assertIsNotNone(method)