Changeset 571db94 in rtems-tools


Ignore:
Timestamp:
Nov 28, 2018, 9:27:50 AM (6 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
95abe76
Parents:
97dc555
Message:

rtemstoolkit: Fix mailer unittest.

Location:
rtemstoolkit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/__init__.py

    r97dc555 r571db94  
    5151               '--jobs', 'half',
    5252               '--no-clean'],
    53     'mailer': ['--smtp-host', '1.2.3.4',
    54                '--mail-to',   'foo@bar.none',
    55                '--mail-from', 'me@here.there']
     53    'mailer': ['--smtp-host=1.2.3.4',
     54               '--mail-to=foo@bar.none',
     55               '--mail-from=me@here.there']
    5656
    5757}
  • rtemstoolkit/mailer.py

    r97dc555 r571db94  
    6464
    6565    def _args_are_macros(self):
    66         return type(self.opts) is 'command_line'
     66        return isinstance(self.opts, options.command_line)
    6767
    6868    def _get_arg(self, arg):
Note: See TracChangeset for help on using the changeset viewer.