2019-01-02 15:29:37 +03:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# 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/.
|
|
|
|
|
|
|
|
from bugbug.models.tracking import TrackingModel
|
|
|
|
|
|
|
|
|
|
|
|
def test_get_tracking_labels():
|
|
|
|
model = TrackingModel()
|
2019-05-14 13:17:53 +03:00
|
|
|
classes, _ = model.get_labels()
|
2019-01-02 15:29:37 +03:00
|
|
|
assert not classes[1101825]
|
|
|
|
assert classes[1042096]
|