Revision b705c7a6 test/mocks.py

b/test/mocks.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007 Google Inc.
4
# Copyright (C) 2006, 2007, 2010 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
50 50
        return "test.cluster"
51 51

  
52 52
    def GetMasterNode(self):
53
        return netutils.HostInfo().name
53
        return netutils.Hostname.GetSysName()
54 54

  
55 55
    def GetDefaultIAllocator(Self):
56 56
        return "testallocator"

Also available in: Unified diff