From 750d8c8cbf2f6a27202110c09ac72c790c283eeb Mon Sep 17 00:00:00 2001 From: meow Date: Mon, 2 Mar 2020 17:42:54 +0500 Subject: [PATCH] Use fictional hostname for VMHost --- uncloud/uncloud_vm/tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/uncloud/uncloud_vm/tests.py b/uncloud/uncloud_vm/tests.py index a9ca5ee..c51f597 100644 --- a/uncloud/uncloud_vm/tests.py +++ b/uncloud/uncloud_vm/tests.py @@ -11,7 +11,8 @@ from uncloud_pay.models import Order User = get_user_model() -# If you want to check the test database then use the following connecting parameters +# If you want to check the test database using some GUI/cli tool +# then use the following connecting parameters # host: localhost # database: test_uncloud @@ -24,7 +25,7 @@ class VMTestCase(TestCase): def setUpClass(cls): # Setup vm host cls.vm_host, created = VMHost.objects.get_or_create( - hostname='server1.place11.ungleich.ch', physical_cores=32, usable_cores=320, + hostname='serverx.placey.ungleich.ch', physical_cores=32, usable_cores=320, usable_ram_in_gb=512.0, status='active' ) super().setUpClass()