def test_stamp_neutron_database(self):
     nutils.stamp_neutron_database('icehouse')
     cmd = ['neutron-db-manage',
            '--config-file', '/etc/neutron/neutron.conf',
            '--config-file', '/etc/neutron/plugins/ml2/ml2_conf.ini',
            'stamp',
            'icehouse']
     self.subprocess.check_output.assert_called_with(cmd)
 def test_stamp_neutron_database(self):
     nutils.stamp_neutron_database('icehouse')
     cmd = [
         'neutron-db-manage', '--config-file', '/etc/neutron/neutron.conf',
         '--config-file', '/etc/neutron/plugins/ml2/ml2_conf.ini', 'stamp',
         'icehouse'
     ]
     self.subprocess.check_output.assert_called_with(cmd)