Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Xbus emitter
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Xbus emitter
Commits
b039d51ae7ce
Commit
b039d51ae7ce
authored
1 year ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
Use unittest mock instead of mock
parent
d691c39476c1
Branches
branch/11.0
No related tags found
1 merge request
!26
📝 Use unittest mock instead of mock
Pipeline
#53709
passed
1 year ago
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
NEWS.rst
+5
-0
5 additions, 0 deletions
NEWS.rst
__manifest__.py
+1
-1
1 addition, 1 deletion
__manifest__.py
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
tests/test_xbus_emitter.py
+1
-1
1 addition, 1 deletion
tests/test_xbus_emitter.py
with
8 additions
and
3 deletions
NEWS.rst
+
5
−
0
View file @
b039d51a
Changelog
=========
16.0.1.0.2
----------
Use unittest.mock instead of mock.
16.0.1.0.1
----------
...
...
This diff is collapsed.
Click to expand it.
__manifest__.py
+
1
−
1
View file @
b039d51a
...
...
@@ -21,7 +21,7 @@
"
name
"
:
"
Xbus Emitter
"
,
"
license
"
:
"
AGPL-3
"
,
"
summary
"
:
"
Emit messages from Odoo to Xbus
"
,
"
version
"
:
"
16.0.1.0.
1
"
,
"
version
"
:
"
16.0.1.0.
2
"
,
"
category
"
:
"
Technical
"
,
"
author
"
:
"
XCG Consulting
"
,
"
website
"
:
"
https://orbeet.io/
"
,
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
b039d51a
...
...
@@ -18,7 +18,7 @@
[project.optional-dependencies]
doc
=
[
"sphinx"
,
"sphinx-odoo-autodoc"
]
test
=
[
"mock"
]
test
=
[]
[project.urls]
repository
=
"https://orus.io/xcg/odoo-modules/xbus_emitter"
...
...
This diff is collapsed.
Click to expand it.
tests/test_xbus_emitter.py
+
1
−
1
View file @
b039d51a
...
...
@@ -18,7 +18,7 @@
#
##############################################################################
import
mock
from
unittest
import
mock
from
odoo.tests
import
TransactionCase
...
...
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