зеркало из https://github.com/mozilla/bedrock.git
Add dependabot config for Python and Docker (#11158)
* Add dependabot config for Python and Docker * Fix FF100 tests
This commit is contained in:
Родитель
3c7d3f0440
Коммит
ab2fc8408c
|
@ -0,0 +1,18 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: pip
|
||||
directory: '/requirements'
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 10
|
||||
labels:
|
||||
- Backend
|
||||
- dependencies
|
||||
- package-ecosystem: docker
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 10
|
||||
labels:
|
||||
- Backend
|
||||
- dependencies
|
|
@ -43,12 +43,15 @@ class TestReleaseModel(TestCase):
|
|||
|
||||
def _add_in_ff100(self):
|
||||
# TODO: remove once FF100 data is properly in the dataset
|
||||
last = models.ProductRelease.objects.filter(channel="Release").last()
|
||||
last = models.ProductRelease.objects.filter(channel="Nightly").last()
|
||||
last.pk = None
|
||||
last.version = "100.0a1"
|
||||
last.title = "Firefox 100.0a1 Nightly"
|
||||
last.slug = "firefox-100.0a1-nightly"
|
||||
last.notes = []
|
||||
last.save()
|
||||
last.refresh_from_db()
|
||||
assert last.pk is not None
|
||||
release_cache.clear()
|
||||
|
||||
def test_release_major_version(self):
|
||||
rel = models.get_release("firefox", "57.0a1")
|
||||
|
|
Загрузка…
Ссылка в новой задаче