Public bug reported:

AssertEqual should be used instead of assertTrue in the following
unitetests.

test_get_format_fs method of class VirtDiskVFSGuestFSTestin 
nova/tests/unit/console/test_serial.py
test_acquire_port method of class VirtDiskVFSGuestFSTest in 
nova/tests/unit/virt/disk/vfs/test_guestfs.py
test_get_os method of class LibvirtOsInfoTest in 
nova/tests/unit/virt/test_osinfo.py

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1548198

Title:
  Misuse of assertTrue in console and virt unittests

Status in OpenStack Compute (nova):
  New

Bug description:
  AssertEqual should be used instead of assertTrue in the following
  unitetests.

  test_get_format_fs method of class VirtDiskVFSGuestFSTestin 
nova/tests/unit/console/test_serial.py
  test_acquire_port method of class VirtDiskVFSGuestFSTest in 
nova/tests/unit/virt/disk/vfs/test_guestfs.py
  test_get_os method of class LibvirtOsInfoTest in 
nova/tests/unit/virt/test_osinfo.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1548198/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to