def test_get_default_config():
    ext = Extension()

    config = ext.get_default_config()

    assert "[scrobbler]" in config
    assert "enabled = true" in config
    assert "username ="******"password =" in config
    def test_get_default_config(self):
        ext = Extension()

        config = ext.get_default_config()

        self.assertIn('[scrobbler]', config)
        self.assertIn('enabled = true', config)
        self.assertIn('username ='******'password =', config)
Beispiel #3
0
    def test_get_default_config(self):
        ext = Extension()

        config = ext.get_default_config()

        self.assertIn('[scrobbler]', config)
        self.assertIn('enabled = true', config)
        self.assertIn('username ='******'password =', config)