Beispiel #1
0
    def test_get_default_config(self):
        ext = BeetsExtension()

        config = ext.get_default_config()

        self.assertIn("[beets]", config)
        self.assertIn("enabled = true", config)
        self.assertIn("hostname = 127.0.0.1", config)
        self.assertIn("port = 8337", config)
Beispiel #2
0
    def test_get_default_config(self):
        ext = BeetsExtension()

        config = ext.get_default_config()

        self.assertIn('[beets]', config)
        self.assertIn('enabled = true', config)
        self.assertIn('hostname = 127.0.0.1', config)
        self.assertIn('port = 8888', config)