Skip to content

Commit 9dddd68

Browse files
committed
Reset the configuration of the bugzilla bot and remove the unused import unittest.mock.patch
1 parent 2dc4073 commit 9dddd68

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"python.pythonPath": "zulip-api-py3-venv/bin/python3.7"
3-
}
3+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[bugzilla]
2-
site = http://bugs.lemoine.tech
3-
api_key = 2BjH9yZxjhe2ZK81wT2loaOOJ3yUvgbgu4akTsXc
2+
site = https://bugs.site.net
3+
api_key = xxxx

zulip_bots/zulip_bots/bots/bugzilla/doc.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ This bot allows to update directly Bugzilla from Zulip
55
## Setup
66

77
To use Bugzilla Bot, first set up `bugzilla.conf`. `bugzilla.conf` takes 2 options:
8-
9-
- site (the site like `https://bugs.xxx.net` that includes both the protocol and the domain), and
10-
- api_key (a Bugzilla API key),
8+
- site (the site like `https://bugs.xxx.net` that includes both the protocol and the domain)
9+
- api_key (a Bugzilla API key)
1110

1211

1312
## Usage

zulip_bots/zulip_bots/bots/bugzilla/fixtures/test_comment.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
"status": 200,
1515
"content-type": "application/json; charset=utf-8"
1616
}
17-
}
17+
}

zulip_bots/zulip_bots/bots/bugzilla/test_bugzilla.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from typing import Any, Dict
2-
from unittest.mock import patch
32
from zulip_bots.test_lib import BotTestCase, DefaultTests
43

54

0 commit comments

Comments
 (0)