Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ophélie Gagnard
slapos.core
Commits
d4066a1e
Commit
d4066a1e
authored
Dec 13, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support HS w/o request_instance.
Also commit test skeleton.
parent
9fd4c2ed
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
...ns/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
+2
-3
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
..._accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
+5
-0
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/Person_storeOpenSaleOrderJournal.xml
View file @
d4066a1e
...
@@ -87,8 +87,7 @@ for hosting_subscription in portal.portal_catalog(\n
...
@@ -87,8 +87,7 @@ for hosting_subscription in portal.portal_catalog(\n
try:\n
try:\n
start_date = getWorkflowDate(hosting_subscription, \'request_instance\')\n
start_date = getWorkflowDate(hosting_subscription, \'request_instance\')\n
except ValueError:\n
except ValueError:\n
pass\n
start_date = hosting_subscription.getCreationDate()\n
else:\n
start_date_tuple_list.append((hosting_subscription.getRelativeUrl(), start_date, hosting_subscription.getPath()))\n
start_date_tuple_list.append((hosting_subscription.getRelativeUrl(), start_date, hosting_subscription.getPath()))\n
\n
\n
\n
\n
...
...
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
View file @
d4066a1e
...
@@ -1154,6 +1154,11 @@ class TestHostingSubscription_requestUpdateOpenSaleOrder(testSlapOSMixin):
...
@@ -1154,6 +1154,11 @@ class TestHostingSubscription_requestUpdateOpenSaleOrder(testSlapOSMixin):
self
.
assertEqual
(
request_time_2
,
validated_line_2
.
getStartDate
())
self
.
assertEqual
(
request_time_2
,
validated_line_2
.
getStartDate
())
self
.
assertEqual
(
stop_date_2
,
validated_line_2
.
getStopDate
())
self
.
assertEqual
(
stop_date_2
,
validated_line_2
.
getStopDate
())
def
test_hosting_subscription_start_date_not_changed
(
self
):
# if there was no request_instance the getCreationDate has been used
# but if request_instance appeared start_date is not changed
raise
NotImplementedError
class
TestSlapOSTriggerBuildAlarm
(
testSlapOSMixin
):
class
TestSlapOSTriggerBuildAlarm
(
testSlapOSMixin
):
@
simulateByTitlewMark
(
'SimulationMovement_buildSlapOS'
)
@
simulateByTitlewMark
(
'SimulationMovement_buildSlapOS'
)
def
test_SimulationMovement_withoutDelivery
(
self
):
def
test_SimulationMovement_withoutDelivery
(
self
):
...
...
master/bt5/slapos_accounting/bt/revision
View file @
d4066a1e
212
213
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment