Remove use of "localhost" in unit tests 34/4834/1
authorE. Scott Daniels <daniels@research.att.com>
Mon, 12 Oct 2020 13:36:39 +0000 (09:36 -0400)
committerE. Scott Daniels <daniels@research.att.com>
Mon, 12 Oct 2020 13:36:39 +0000 (09:36 -0400)
commit27964b5bd61b1afe685bce4180f1e37faabf3f39
tree2767bbbac4a7f555c91826431730a47bc93f9e31
parenta653bc4c33f3a023cb90844717fbb1cb8436de15
Remove use of "localhost" in unit tests

In some container environments localhost is defined multiple times
in /etc/hosts. This can cause unit tests to fail if "localhost" is
used to create a connection. This change switches to use the loop
back address (127.0.0.1) for unit tests.

Issue-ID: RIC-654

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ia48ffac700b54dce59f878f46f1f011dce1df260
tests/test_alarm.py