Esempio n. 1
0
    def setUp(self):
        self.command = geda_commands.GEDACommand()
        self.param = geda_commands.GEDAParameter('test')
        self.style_param = geda_commands.GEDAStyleParameter('test')
        self.extra_param = geda_commands.GEDAExtraParameter('test')

        self.command.TYPE = 'X'
        self.command.PARAMETERS = (self.param, self.style_param)
        self.command.EXTRA_PARAMETERS = (self.extra_param, )
Esempio n. 2
0
 def test_getting_style_keywords_without_parameters(self):
     """ Test getting style keywords with no parameters """
     self.assertEqual([], geda_commands.GEDACommand().get_style_keywords())