diff --git a/docs/extensiondev.rst b/docs/extensiondev.rst index 72747e28..f5929ec4 100644 --- a/docs/extensiondev.rst +++ b/docs/extensiondev.rst @@ -586,7 +586,7 @@ Test cases for checking the definition of the extension should ensure that: An example of what these tests could look like is provided below:: - def test_get_default_config(self): + def test_get_default_config(): ext = Extension() config = ext.get_default_config() @@ -596,7 +596,7 @@ An example of what these tests could look like is provided below:: assert 'param_2 = value_2' in config assert 'param_n = value_n' in config - def test_get_config_schema(self): + def test_get_config_schema(): ext = Extension() schema = ext.get_config_schema() @@ -605,7 +605,7 @@ An example of what these tests could look like is provided below:: assert 'param_2' in schema assert 'param_n' in schema - def test_setup(self): + def test_setup(): registry = mock.Mock() ext = Extension() @@ -783,4 +783,4 @@ the events fire:: For further details and examples, refer to the `/tests `_ -directory on the Mopidy development branch. \ No newline at end of file +directory on the Mopidy development branch.