Hostname verification code change.

Resolves openbmc/openbmc-test-automation#1678

Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
Change-Id: I05671350b270b485985e73199b44f762d7e83e2b
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index a5bf1b6..d91c611 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -197,7 +197,7 @@
     #           configured on system.
 
     ${sys_hostname}=  Get BMC Hostname
-    Should Contain  ${sys_hostname}  ${hostname}
+    Should Be Equal  ${sys_hostname}  ${hostname}
     ...  ignore_case=True  msg=Hostname does not exist.
 
 Test Teardown Execution