Skip to content

Instantly share code, notes, and snippets.

View hackebrot's full-sized avatar
💻
Focusing

Raphael Aurich hackebrot

💻
Focusing
View GitHub Profile
@hackebrot
hackebrot / README.md
Last active July 6, 2017 20:28
Python class setup

Run pytest and show prints:

$ pytest -v -s
test_helloworld.py::TestHello::test_python [TestHello.setUpClass] PASSED
test_helloworld.py::TestHello::test_world PASSED
test_helloworld.py::TestHey::test_world [TestHey.setup_class] PASSED
diff --git a/build/virtualenv_packages.txt b/build/virtualenv_packages.txt
--- a/build/virtualenv_packages.txt
+++ b/build/virtualenv_packages.txt
@@ -77,4 +77,5 @@ mozilla.pth:third_party/python/pyasn1
mozilla.pth:third_party/python/pyasn1-modules
mozilla.pth:third_party/python/rsa
mozilla.pth:third_party/python/PyECC
+mozilla.pth:toolkit/components/telemetry/tests/marionette/harness
optional:packages.txt:comm/build/virtualenv_packages.txt
diff --git a/testing/marionette/mach_commands.py b/testing/marionette/mach_commands.py
@hackebrot
hackebrot / labels.toml
Last active February 7, 2019 12:30
GitHub labels with Night Owl colors
# Colors from https://github.com/sdras/night-owl-vscode-theme
# Update your GitHub labels with https://github.com/hackebrot/labels
[bug]
color = "ffeb95"
description = "Bugs and problems with labels"
name = "bug"
["code quality"]
color = "c792ea"
@hackebrot
hackebrot / android-components.csv
Created December 11, 2020 17:06 — forked from mdboom/android-components.csv
Glean testing coverage
category name tested
basic os False
bookmarks_sync failure_reason False
bookmarks_sync finished_at False
bookmarks_sync incoming False
bookmarks_sync outgoing False
bookmarks_sync outgoing_batches False
bookmarks_sync remote_tree_problems False
bookmarks_sync started_at False
bookmarks_sync uid False
@hackebrot
hackebrot / test_sushi.py
Created November 21, 2021 16:16
Tests using pytest fixtures
from dataclasses import dataclass, field
from typing import List
import pytest
@dataclass(frozen=True)
class Ingredient:
name: str
plant_based: bool