forked from uncloud/uncloud
++ test
This commit is contained in:
parent
9b00ef11fb
commit
ff8fdb76b1
1 changed files with 5 additions and 1 deletions
|
@ -65,13 +65,17 @@ class Command(BaseCommand):
|
||||||
vm25206_ssd.create_order_at(timezone.make_aware(datetime.datetime(2020,3,3)))
|
vm25206_ssd.create_order_at(timezone.make_aware(datetime.datetime(2020,3,3)))
|
||||||
vm25206_ssd.save()
|
vm25206_ssd.save()
|
||||||
|
|
||||||
sys.exit(0)
|
|
||||||
|
|
||||||
|
# change 1
|
||||||
vm25206.cores = 2
|
vm25206.cores = 2
|
||||||
vm25206.ram_in_gb = 8
|
vm25206.ram_in_gb = 8
|
||||||
vm25206.save()
|
vm25206.save()
|
||||||
vm25206.create_or_update_order(when_to_start=timezone.make_aware(datetime.datetime(2020,4,17)))
|
vm25206.create_or_update_order(when_to_start=timezone.make_aware(datetime.datetime(2020,4,17)))
|
||||||
|
|
||||||
|
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
||||||
vm25206_ssd.size_in_gb = 50
|
vm25206_ssd.size_in_gb = 50
|
||||||
vm25206_ssd.save()
|
vm25206_ssd.save()
|
||||||
vm25206_ssd.create_or_update_order(when_to_start=timezone.make_aware(datetime.datetime(2020,8,5)))
|
vm25206_ssd.create_or_update_order(when_to_start=timezone.make_aware(datetime.datetime(2020,8,5)))
|
||||||
|
|
Loading…
Reference in a new issue