Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PyI40AAS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lehrstuhl für Informations- und Automatisierungssysteme
PyI40AAS
Merge requests
!25
test: Fix occasional test failures due to rounding error in test_aasx
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
test: Fix occasional test failures due to rounding error in test_aasx
fix/test_aasx_rounding
into
master
Overview
0
Commits
1
Pipelines
5
Changes
1
Merged
Michael Thies
requested to merge
fix/test_aasx_rounding
into
master
5 years ago
Overview
0
Commits
1
Pipelines
5
Changes
1
Expand
Fixes
#64 (closed)
0
0
Merge request reports
Compare
master
version 1
e14f5413
5 years ago
master (base)
and
latest version
latest version
9a43473a
1 commit,
5 years ago
version 1
e14f5413
1 commit,
5 years ago
1 file
+
4
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
test/adapter/aasx/test_aasx.py
+
4
−
1
Options
@@ -93,7 +93,10 @@ class AASXWriterTest(unittest.TestCase):
example_aas
.
check_full_example
(
checker
,
new_data
)
# Check core properties
self
.
assertEqual
(
new_cp
.
created
,
cp
.
created
)
assert
(
isinstance
(
cp
.
created
,
datetime
.
datetime
))
# to make mypy happy
self
.
assertIsInstance
(
new_cp
.
created
,
datetime
.
datetime
)
assert
(
isinstance
(
new_cp
.
created
,
datetime
.
datetime
))
# to make mypy happy
self
.
assertAlmostEqual
(
new_cp
.
created
,
cp
.
created
,
delta
=
datetime
.
timedelta
(
milliseconds
=
20
))
self
.
assertEqual
(
new_cp
.
creator
,
"
PyI40AAS Testing Framework
"
)
self
.
assertIsNone
(
new_cp
.
lastModifiedBy
)
Loading