зеркало из https://github.com/mozilla/bugbot.git
20 строки
735 B
Python
20 строки
735 B
Python
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
import unittest
|
|
|
|
from bugbot.rules.no_assignee import NoAssignee
|
|
|
|
|
|
class TestEmailNoAssignee(unittest.TestCase):
|
|
def test_nobody(self):
|
|
bugids = NoAssignee().get_bugs("2011-01-01", bug_ids=[229367, 400095])
|
|
assert bugids == {
|
|
"229367": {
|
|
"id": "229367",
|
|
"email": "smontagu@smontagu.org",
|
|
"summary": "<br> confuses our bidiness (punctuation before <br> at end of line starting with number doesn't follow paragraph directionality)",
|
|
}
|
|
}
|