Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common_helper_encoder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
common_helper_encoder
Commits
75580b07
Commit
75580b07
authored
May 04, 2016
by
Peter Weidenbach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test folder moved; 00 changed to 0 because of editor parsing bugs
parent
fc315c8e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
+1
-1
__init__.py
common_helper_encoder/tests/__init__.py
+0
-0
test_json_encoder.py
common_helper_encoder/tests/test_json_encoder.py
+1
-1
No files found.
tests/__init__.py
→
common_helper_encoder/
tests/__init__.py
View file @
75580b07
File moved
tests/test_json_encoder.py
→
common_helper_encoder/
tests/test_json_encoder.py
View file @
75580b07
...
@@ -14,7 +14,7 @@ class Test_json_encoder(unittest.TestCase):
...
@@ -14,7 +14,7 @@ class Test_json_encoder(unittest.TestCase):
self
.
assertEqual
(
result
,
"VEVTVA=="
,
"base64 encoding not correct"
)
self
.
assertEqual
(
result
,
"VEVTVA=="
,
"base64 encoding not correct"
)
def
test_datetime_encoding
(
self
):
def
test_datetime_encoding
(
self
):
input_data
=
datetime
.
datetime
(
1970
,
4
,
23
,
19
,
0
0
,
24
)
input_data
=
datetime
.
datetime
(
1970
,
4
,
23
,
19
,
0
,
24
)
result
=
self
.
encoder
.
default
(
input_data
)
result
=
self
.
encoder
.
default
(
input_data
)
self
.
assertEqual
(
result
,
"1970-04-23T19:00:24"
)
self
.
assertEqual
(
result
,
"1970-04-23T19:00:24"
)
...
...
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