Skip to content

Commit

Permalink
Reset the configuration of the bugzilla bot and remove the unused imp…
Browse files Browse the repository at this point in the history
…ort unittest.mock.patch
  • Loading branch information
latnr committed Aug 31, 2020
1 parent 2dc4073 commit 9dddd68
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"python.pythonPath": "zulip-api-py3-venv/bin/python3.7"
}
}
4 changes: 2 additions & 2 deletions zulip_bots/zulip_bots/bots/bugzilla/bugzilla.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[bugzilla]
site = http://bugs.lemoine.tech
api_key = 2BjH9yZxjhe2ZK81wT2loaOOJ3yUvgbgu4akTsXc
site = https://bugs.site.net
api_key = xxxx
5 changes: 2 additions & 3 deletions zulip_bots/zulip_bots/bots/bugzilla/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ This bot allows to update directly Bugzilla from Zulip
## Setup

To use Bugzilla Bot, first set up `bugzilla.conf`. `bugzilla.conf` takes 2 options:

- site (the site like `https://bugs.xxx.net` that includes both the protocol and the domain), and
- api_key (a Bugzilla API key),
- site (the site like `https://bugs.xxx.net` that includes both the protocol and the domain)
- api_key (a Bugzilla API key)


## Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"status": 200,
"content-type": "application/json; charset=utf-8"
}
}
}
1 change: 0 additions & 1 deletion zulip_bots/zulip_bots/bots/bugzilla/test_bugzilla.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from typing import Any, Dict
from unittest.mock import patch
from zulip_bots.test_lib import BotTestCase, DefaultTests


Expand Down

0 comments on commit 9dddd68

Please sign in to comment.