Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LinkAhead Loan
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
LinkAhead Loan
Commits
ab894c19
Commit
ab894c19
authored
1 month ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Patches
Plain Diff
TST: Test that name override has gone
parent
4d5e7fa1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
loanpy/integrationtests/basic_test.py
+4
-1
4 additions, 1 deletion
loanpy/integrationtests/basic_test.py
with
4 additions
and
1 deletion
loanpy/integrationtests/basic_test.py
+
4
−
1
View file @
ab894c19
...
...
@@ -54,7 +54,7 @@ TESTBOXNUMBER2 = '0124 TEST'
TESTDESTINATION
=
'
TEST DEST
'
TESTCURRENTDESTINATION
=
'
TEST CUR DEST
'
TESTBORROWEREMAIL
=
'
test@example.com
'
TESTRETURNDATE
=
"
2025
-03-04
"
TESTRETURNDATE
=
"
9999
-03-04
"
TESTFN
=
"
Alice
"
TESTLN
=
"
Wunderland
"
...
...
@@ -286,6 +286,9 @@ def test_request_loan_multiple_items(loan_form_data_multi):
assert
response
.
stderr
is
None
,
response
.
stderr
assert
response
.
code
==
0
loan
=
get_entity_by_id
(
loanid
)
# Assert that the ancient name override doesn't exist anymore
box_rt
=
db
.
get_entity_by_name
(
BOX
.
name
)
assert
loan
.
get_property
(
BOX_BORROWED
.
name
).
id
!=
box_rt
.
id
assert
loan
.
get_property
(
BOX_BORROWED
.
name
).
value
==
box_versionids
assert
loan
.
get_property
(
f
"
{
LENT
.
name
}
"
).
value
.
startswith
(
"
20
"
)
box1
=
get_entity_by_name
(
TESTBOXNUMBER
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment