- redaxmedia@local:~$ chroma-feedback -P=github --github-slug=redaxmedia -C=philips_hue
+ user@local:~$ chroma-feedback -P=github --github-slug=henryruhs -C=philips_hue
chroma-feedback 12.2.0 by Henry Ruhs
-✔ Status of redaxmedia/chroma-feedback on github is passed
-✔ Status of redaxmedia/handpick on github is passed
-✔ Status of redaxmedia/ncss-linter on github is passed
-✔ Status of redaxmedia/ngx-crud on github is passed
+✔ Status of henryruhs/chroma-feedback on github is passed
+✔ Status of henryruhs/handpick on github is passed
+✔ Status of henryruhs/ncss-linter on github is passed
+✔ Status of henryruhs/ngx-crud on github is passed
✔ Set status of Hue play 1 to passed
✔ Set status of Hue play 2 to passed
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b8aa5100..efb3d074 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,12 +23,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: [ 3.8, 3.9, 3.10-dev, 3.11-dev ]
+ python-version: [ '3.8', '3.9', '3.10' ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- run: pip install mock
@@ -53,7 +53,6 @@ jobs:
TEAMCITY_TOKEN: ${{ secrets.TEAMCITY_TOKEN }}
TRAVIS_TOKEN: ${{ secrets.TRAVIS_TOKEN }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
- WERCKER_TOKEN: ${{ secrets.WERCKER_TOKEN }}
report:
needs: test
runs-on: ubuntu-latest
@@ -61,7 +60,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.9
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v3
with:
python-version: 3.9
- run: pip install coveralls
@@ -87,7 +86,6 @@ jobs:
TEAMCITY_TOKEN: ${{ secrets.TEAMCITY_TOKEN }}
TRAVIS_TOKEN: ${{ secrets.TRAVIS_TOKEN }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
- WERCKER_TOKEN: ${{ secrets.WERCKER_TOKEN }}
- run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/README.md b/README.md
index e3dd0846..b6e5c028 100644
--- a/README.md
+++ b/README.md
@@ -3,8 +3,8 @@ Chroma Feedback
> Turn your RGB powered hardware into a status indicator for continuous integration, continuous deployment and infrastructure monitoring.
-[![Build Status](https://img.shields.io/github/workflow/status/redaxmedia/chroma-feedback/ci.svg)](https://github.com/redaxmedia/chroma-feedback/actions?query=workflow:ci)
-[![Coverage Status](https://img.shields.io/coveralls/redaxmedia/chroma-feedback.svg)](https://coveralls.io/r/redaxmedia/chroma-feedback)
+[![Build Status](https://img.shields.io/github/workflow/status/henryruhs/chroma-feedback/ci.svg)](https://github.com/henryruhs/chroma-feedback/actions?query=workflow:ci)
+[![Coverage Status](https://img.shields.io/coveralls/henryruhs/chroma-feedback.svg)](https://coveralls.io/r/henryruhs/chroma-feedback)
[![PyPI](https://img.shields.io/pypi/v/chroma-feedback.svg)](https://pypi.org/project/chroma-feedback)
[![License](https://img.shields.io/pypi/l/chroma-feedback.svg)](https://pypi.org/project/chroma-feedback)
@@ -12,7 +12,7 @@ Chroma Feedback
Preview
-------
-![Terminal Session](https://raw.githubusercontent.com/redaxmedia/chroma-feedback/master/.github/terminal-session.svg?sanitize=true)
+![Terminal Session](https://raw.githubusercontent.com/henryruhs/chroma-feedback/master/.github/terminal-session.svg?sanitize=true)
Installation
@@ -62,4 +62,4 @@ chroma-feedback [options]
Documentation
-------------
-Read the [documenation](https://redaxmedia.gitbook.io/chroma-feedback) for a deep dive.
+Read the [documenation](https://henryruhs.gitbook.io/chroma-feedback) for a deep dive.
diff --git a/chroma_feedback/metadata.py b/chroma_feedback/metadata.py
index fa50fb7a..3d71988b 100644
--- a/chroma_feedback/metadata.py
+++ b/chroma_feedback/metadata.py
@@ -8,7 +8,7 @@
'license': 'MIT',
'keywords': ' '.join(producer.__all__),
'author': 'Henry Ruhs',
- 'author_email': 'info@redaxmedia.com',
+ 'author_email': 'info@henryruhs.com',
'url': 'https://chroma-feedback.com'
}
diff --git a/chroma_feedback/producer/__init__.py b/chroma_feedback/producer/__init__.py
index 0bdf9dd7..f68f6a07 100644
--- a/chroma_feedback/producer/__init__.py
+++ b/chroma_feedback/producer/__init__.py
@@ -18,6 +18,5 @@
'netlify',
'teamcity',
'travis',
- 'vercel',
- 'wercker'
+ 'vercel'
]
diff --git a/chroma_feedback/producer/wercker/__init__.py b/chroma_feedback/producer/wercker/__init__.py
deleted file mode 100644
index a24bdfe6..00000000
--- a/chroma_feedback/producer/wercker/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-from .core import init, run
diff --git a/chroma_feedback/producer/wercker/core.py b/chroma_feedback/producer/wercker/core.py
deleted file mode 100644
index a1baf288..00000000
--- a/chroma_feedback/producer/wercker/core.py
+++ /dev/null
@@ -1,68 +0,0 @@
-from argparse import ArgumentParser
-from typing import List
-
-from chroma_feedback import helper, request
-from chroma_feedback.typing import Producer
-from .normalize import normalize_data
-
-ARGS = None
-
-
-def init(program : ArgumentParser) -> None:
- global ARGS
-
- if not ARGS:
- program.add_argument('--wercker-host', default = 'https://app.wercker.com')
- program.add_argument('--wercker-slug', action = 'append', required = True)
- program.add_argument('--wercker-token', required = True)
- ARGS = helper.get_first(program.parse_known_args())
-
-
-def run() -> List[Producer]:
- result = []
-
- for slug in ARGS.wercker_slug:
- application_ids = fetch_application_ids(ARGS.wercker_host, slug, ARGS.wercker_token)
-
- for application_id in application_ids:
- result.extend(fetch(ARGS.wercker_host, slug, application_id, ARGS.wercker_token))
- return result
-
-
-def fetch(host : str, slug : str, application_id : str, token : str) -> List[Producer]:
- result = []
- response = None
-
- if host and slug and application_id and token:
- response = request.get(host + '/api/v3/runs?applicationId=' + application_id, headers = request.create_bearer_auth_headers(token))
-
- # process response
-
- if response and response.status_code == 200:
- data = request.parse_json(response)
- build = helper.get_first(data)
-
- if build and 'status' in build and 'result' in build:
- result.append(normalize_data(slug, build['status'], build['result']))
- return result
-
-
-def fetch_application_ids(host : str, slug : str, token : str) -> List[str]:
- result = []
- response = None
-
- if host and slug and token:
- response = request.get(host + '/api/v3/applications/' + slug, headers = request.create_bearer_auth_headers(token))
-
- # process response
-
- if response and response.status_code == 200:
- data = request.parse_json(response)
-
- if 'id' in data:
- result.append(data['id'])
- else:
- for application in data:
- if 'id' in application:
- result.append(application['id'])
- return result
diff --git a/chroma_feedback/producer/wercker/normalize.py b/chroma_feedback/producer/wercker/normalize.py
deleted file mode 100644
index 7fd82f65..00000000
--- a/chroma_feedback/producer/wercker/normalize.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from chroma_feedback import helper
-from chroma_feedback.typing import Producer, Status
-
-
-def normalize_data(slug : str, status : str, result : str) -> Producer:
- return\
- {
- 'name': 'wercker',
- 'slug': slug,
- 'url': None,
- 'status': normalize_status(status, result)
- }
-
-
-def normalize_status(status : str, result : str) -> Status:
- status = helper.to_lower_case(status)
- result = helper.to_lower_case(result)
-
- if status == 'running':
- return 'started'
- if result == 'aborted':
- return 'errored'
- if result == 'failed':
- return 'failed'
- return 'passed'
diff --git a/chroma_feedback/typing.py b/chroma_feedback/typing.py
index 89207b2a..1d31ef33 100644
--- a/chroma_feedback/typing.py
+++ b/chroma_feedback/typing.py
@@ -27,8 +27,7 @@
'netlify',
'teamcity',
'travis',
- 'vercel',
- 'wercker'
+ 'vercel'
]
ConsumerName = Literal\
[
diff --git a/setup.py b/setup.py
index 32c809b7..00e0e861 100755
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,6 @@
'chroma_feedback.producer.teamcity',
'chroma_feedback.producer.travis',
'chroma_feedback.producer.vercel',
- 'chroma_feedback.producer.wercker',
'chroma_feedback.consumer',
'chroma_feedback.consumer.agile_innovative_blinkstick',
'chroma_feedback.consumer.elgato_streamdeck',
@@ -65,7 +64,7 @@
},
install_requires =
[
- 'busylight-for-humans==0.15.2',
+ 'busylight-for-humans==0.15.4',
'lifxlan==1.2.7',
'nanoleafapi==2.1.1',
'phue==1.1',
diff --git a/tests/consumer/agile_innovative_blinkstick/test_device.py b/tests/consumer/agile_innovative_blinkstick/test_device.py
index 915504eb..8f6c1349 100644
--- a/tests/consumer/agile_innovative_blinkstick/test_device.py
+++ b/tests/consumer/agile_innovative_blinkstick/test_device.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/elgato_streamdeck/test_device.py b/tests/consumer/elgato_streamdeck/test_device.py
index 62857b0c..f5daae57 100644
--- a/tests/consumer/elgato_streamdeck/test_device.py
+++ b/tests/consumer/elgato_streamdeck/test_device.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/embrava_blynclight/test_device.py b/tests/consumer/embrava_blynclight/test_device.py
index c7ab6752..37808dbe 100644
--- a/tests/consumer/embrava_blynclight/test_device.py
+++ b/tests/consumer/embrava_blynclight/test_device.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/kuando_busylight/test_device.py b/tests/consumer/kuando_busylight/test_device.py
index 1f28da96..b4a807a1 100644
--- a/tests/consumer/kuando_busylight/test_device.py
+++ b/tests/consumer/kuando_busylight/test_device.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/lifx_light/test_light.py b/tests/consumer/lifx_light/test_light.py
index c2542650..924801a0 100644
--- a/tests/consumer/lifx_light/test_light.py
+++ b/tests/consumer/lifx_light/test_light.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/luxafor_flag/test_device.py b/tests/consumer/luxafor_flag/test_device.py
index b9cc938c..73cf80b1 100644
--- a/tests/consumer/luxafor_flag/test_device.py
+++ b/tests/consumer/luxafor_flag/test_device.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/magic_hue/test_light.py b/tests/consumer/magic_hue/test_light.py
index 840daf6a..636c573a 100644
--- a/tests/consumer/magic_hue/test_light.py
+++ b/tests/consumer/magic_hue/test_light.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/nanoleaf_light/test_light.py b/tests/consumer/nanoleaf_light/test_light.py
index 4aef8651..af27113d 100644
--- a/tests/consumer/nanoleaf_light/test_light.py
+++ b/tests/consumer/nanoleaf_light/test_light.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/philips_hue/test_light.py b/tests/consumer/philips_hue/test_light.py
index 90e8dbba..37378391 100644
--- a/tests/consumer/philips_hue/test_light.py
+++ b/tests/consumer/philips_hue/test_light.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/razer_chroma/test_device.py b/tests/consumer/razer_chroma/test_device.py
index 5c7938bc..5da1eef1 100644
--- a/tests/consumer/razer_chroma/test_device.py
+++ b/tests/consumer/razer_chroma/test_device.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/thingm_blink1/test_device.py b/tests/consumer/thingm_blink1/test_device.py
index 8408632b..89ba47a4 100644
--- a/tests/consumer/thingm_blink1/test_device.py
+++ b/tests/consumer/thingm_blink1/test_device.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/wiz_light/test_light.py b/tests/consumer/wiz_light/test_light.py
index f08a4a79..1d35bfdb 100644
--- a/tests/consumer/wiz_light/test_light.py
+++ b/tests/consumer/wiz_light/test_light.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/consumer/xiaomi_yeelight/test_light.py b/tests/consumer/xiaomi_yeelight/test_light.py
index f9abaa08..35a7c265 100644
--- a/tests/consumer/xiaomi_yeelight/test_light.py
+++ b/tests/consumer/xiaomi_yeelight/test_light.py
@@ -17,7 +17,7 @@ def test_process_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
])
@@ -41,7 +41,7 @@ def test_process_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
}
])
@@ -65,7 +65,7 @@ def test_process_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
}
])
@@ -89,7 +89,7 @@ def test_process_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
}
])
@@ -113,7 +113,7 @@ def test_process_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
}
])
diff --git a/tests/producer/appveyor/test_core.py b/tests/producer/appveyor/test_core.py
index be62d238..af391c86 100644
--- a/tests/producer/appveyor/test_core.py
+++ b/tests/producer/appveyor/test_core.py
@@ -13,14 +13,14 @@ def test_run_one() -> None:
appveyor_host = 'https://ci.appveyor.com',
appveyor_slug =
[
- 'redaxmedia/chroma-feedback'
+ 'henryruhs/chroma-feedback'
],
appveyor_token = os.environ.get('APPVEYOR_TOKEN')
)
result = appveyor.core.run()
assert result[0]['name'] == 'appveyor'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback'
+ assert result[0]['slug'] == 'henryruhs/chroma-feedback'
assert result[0]['status'] in get_args(Status)
else:
pytest.skip('APPVEYOR_TOKEN is not defined')
diff --git a/tests/producer/azure/test_core.py b/tests/producer/azure/test_core.py
index c8703783..1455aa80 100644
--- a/tests/producer/azure/test_core.py
+++ b/tests/producer/azure/test_core.py
@@ -27,12 +27,12 @@ def test_run_one(request_mock : Any) -> None:
azure_host = 'https://dev.azure.com',
azure_slug =
[
- 'redaxmedia/chroma-feedback'
+ 'henryruhs/chroma-feedback'
],
azure_token = '__token__'
)
result = azure.run()
- assert result[0]['name'] == 'azure'
+ assert result[0]['name'] == 'azure'
assert result[0]['slug'] == 'chroma-feedback'
assert result[0]['status'] in get_args(Status)
diff --git a/tests/producer/bamboo/test_core.py b/tests/producer/bamboo/test_core.py
index 60676a6c..52ab0b91 100644
--- a/tests/producer/bamboo/test_core.py
+++ b/tests/producer/bamboo/test_core.py
@@ -11,21 +11,21 @@ def test_run_one(request_mock : Any) -> None:
request_mock.return_value.status_code = 200
request_mock.return_value.json.return_value =\
{
- 'key': 'redaxmedia-chroma-feedback',
+ 'key': 'henryruhs-chroma-feedback',
'buildState': 'Successful'
}
bamboo.core.ARGS = argparse.Namespace(
bamboo_host = 'http://localhost',
bamboo_slug =
[
- 'redaxmedia/chroma-feedback'
+ 'henryruhs/chroma-feedback'
],
bamboo_token = '__token__'
)
result = bamboo.run()
assert result[0]['name'] == 'bamboo'
- assert result[0]['slug'] == 'redaxmedia-chroma-feedback'
+ assert result[0]['slug'] == 'henryruhs-chroma-feedback'
assert result[0]['status'] in get_args(Status)
@@ -39,7 +39,7 @@ def test_run_many(request_mock : Any) -> None:
'result':
[
{
- 'key': 'redaxmedia-chroma-feedback',
+ 'key': 'henryruhs-chroma-feedback',
'buildState': 'Successful'
}
]
@@ -49,12 +49,12 @@ def test_run_many(request_mock : Any) -> None:
bamboo_host = 'http://localhost',
bamboo_slug =
[
- 'redaxmedia'
+ 'henryruhs'
],
bamboo_token = '__token__'
)
result = bamboo.run()
assert result[0]['name'] == 'bamboo'
- assert result[0]['slug'] == 'redaxmedia-chroma-feedback'
+ assert result[0]['slug'] == 'henryruhs-chroma-feedback'
assert result[0]['status'] in get_args(Status)
diff --git a/tests/producer/bitbucket/test_core.py b/tests/producer/bitbucket/test_core.py
index c9e42a0b..3dba9cb7 100644
--- a/tests/producer/bitbucket/test_core.py
+++ b/tests/producer/bitbucket/test_core.py
@@ -13,7 +13,7 @@ def test_run_one() -> None:
bitbucket_host = 'https://api.bitbucket.org',
bitbucket_slug =
[
- 'redaxmedia/chroma-feedback-test'
+ 'henryruhs/chroma-feedback-test'
],
bitbucket_username = os.environ.get('BITBUCKET_USERNAME'),
bitbucket_password = os.environ.get('BITBUCKET_PASSWORD')
@@ -21,7 +21,7 @@ def test_run_one() -> None:
result = bitbucket.core.run()
assert result[0]['name'] == 'bitbucket'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback-test'
+ assert result[0]['slug'] == 'henryruhs/chroma-feedback-test'
assert result[0]['status'] in get_args(Status)
else:
pytest.skip('BITBUCKET_USERNAME or BITBUCKET_PASSWORD is not defined')
diff --git a/tests/producer/buddy/test_core.py b/tests/producer/buddy/test_core.py
index c7c54a38..93058301 100644
--- a/tests/producer/buddy/test_core.py
+++ b/tests/producer/buddy/test_core.py
@@ -13,14 +13,14 @@ def test_run_one() -> None:
buddy_host = 'https://api.buddy.works',
buddy_slug =
[
- 'redaxmedia/chroma-feedback-test-gitlab'
+ 'henryruhs/chroma-feedback-test-gitlab'
],
buddy_token = os.environ.get('BUDDY_TOKEN')
)
result = buddy.core.run()
assert result[0]['name'] == 'buddy'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback-test-gitlab'
+ assert result[0]['slug'] == 'henryruhs/chroma-feedback-test-gitlab'
assert result[0]['status'] in get_args(Status)
else:
pytest.skip('BUDDY_TOKEN is not defined')
@@ -32,18 +32,18 @@ def test_run_many() -> None:
buddy_host = 'https://api.buddy.works',
buddy_slug =
[
- 'redaxmedia'
+ 'henryruhs'
],
buddy_token = os.environ.get('BUDDY_TOKEN')
)
result = buddy.core.run()
assert result[0]['name'] == 'buddy'
- assert 'redaxmedia/chroma-feedback-test' in result[0]['slug']
+ assert 'henryruhs/chroma-feedback-test' in result[0]['slug']
assert result[0]['status'] in get_args(Status)
assert result[1]['name'] == 'buddy'
- assert 'redaxmedia/chroma-feedback-test' in result[1]['slug']
+ assert 'henryruhs/chroma-feedback-test' in result[1]['slug']
assert result[1]['status'] in get_args(Status)
else:
pytest.skip('BUDDY_TOKEN is not defined')
diff --git a/tests/producer/circle/test_core.py b/tests/producer/circle/test_core.py
index e9a61b0f..59440a68 100644
--- a/tests/producer/circle/test_core.py
+++ b/tests/producer/circle/test_core.py
@@ -14,14 +14,14 @@ def test_run_one() -> None:
circle_organization = None,
circle_slug =
[
- 'github/redaxmedia/chroma-feedback'
+ 'github/henryruhs/chroma-feedback'
],
circle_token = os.environ.get('CIRCLE_TOKEN')
)
result = circle.core.run()
assert result[0]['name'] == 'circle'
- assert result[0]['slug'] == 'gh/redaxmedia/chroma-feedback/lint-and-test'
+ assert result[0]['slug'] == 'gh/henryruhs/chroma-feedback/lint-and-test'
assert result[0]['status'] in get_args(Status)
else:
pytest.skip('CIRCLE_TOKEN is not defined')
@@ -31,7 +31,7 @@ def test_run_many() -> None:
if os.environ.get('CIRCLE_TOKEN'):
circle.core.ARGS = argparse.Namespace(
circle_host = 'https://circleci.com',
- circle_organization = 'github/redaxmedia',
+ circle_organization = 'github/henryruhs',
circle_slug = None,
circle_token = os.environ.get('CIRCLE_TOKEN')
)
diff --git a/tests/producer/codeship/test_core.py b/tests/producer/codeship/test_core.py
index 90607e2b..d8df917f 100644
--- a/tests/producer/codeship/test_core.py
+++ b/tests/producer/codeship/test_core.py
@@ -13,7 +13,7 @@ def test_run_one() -> None:
codeship_host = 'https://api.codeship.com',
codeship_slug =
[
- 'redaxmedia/chroma-feedback-test'
+ 'henryruhs/chroma-feedback-test'
],
codeship_username = os.environ.get('CODESHIP_USERNAME'),
codeship_password = os.environ.get('CODESHIP_PASSWORD')
@@ -21,7 +21,7 @@ def test_run_one() -> None:
result = codeship.core.run()
assert result[0]['name'] == 'codeship'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback-test'
+ assert result[0]['slug'] == 'henryruhs/chroma-feedback-test'
assert result[0]['status'] in get_args(Status)
else:
pytest.skip('CODESHIP_USERNAME or CODESHIP_PASSWORD is not defined')
@@ -38,11 +38,11 @@ def test_run_many() -> None:
result = codeship.core.run()
assert result[0]['name'] == 'codeship'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback-test'
+ assert result[0]['slug'] == 'henryruhs/chroma-feedback-test'
assert result[0]['status'] in get_args(Status)
assert result[1]['name'] == 'codeship'
- assert result[1]['slug'] == 'redaxmedia/chroma-feedback-test'
+ assert result[1]['slug'] == 'henryruhs/chroma-feedback-test'
assert result[1]['status'] in get_args(Status)
else:
pytest.skip('CODESHIP_USERNAME or CODESHIP_PASSWORD is not defined')
diff --git a/tests/producer/custom/test_core.py b/tests/producer/custom/test_core.py
index 4aa1e500..e3bbd244 100644
--- a/tests/producer/custom/test_core.py
+++ b/tests/producer/custom/test_core.py
@@ -13,8 +13,8 @@ def test_run_one(request_mock : Any) -> None:
[
{
'producer': 'custom',
- 'slug': 'redaxmedia/chroma-feedback',
- 'url': 'http://localhost/redaxmedia/chroma-feedback/pipelines/1',
+ 'slug': 'henryruhs/chroma-feedback',
+ 'url': 'http://localhost/henryruhs/chroma-feedback/pipelines/1',
'status': 'passed'
}
]
@@ -22,13 +22,13 @@ def test_run_one(request_mock : Any) -> None:
custom_host = 'http://localhost',
custom_slug =
[
- 'redaxmedia/chroma-feedback'
+ 'henryruhs/chroma-feedback'
],
custom_token = '__token__'
)
result = custom.core.run()
assert result[0]['name'] == 'custom'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback'
- assert result[0]['url'] == 'http://localhost/redaxmedia/chroma-feedback/pipelines/1'
+ assert result[0]['slug'] == 'henryruhs/chroma-feedback'
+ assert result[0]['url'] == 'http://localhost/henryruhs/chroma-feedback/pipelines/1'
assert result[0]['status'] in get_args(Status)
diff --git a/tests/producer/github/test_core.py b/tests/producer/github/test_core.py
index e51d5420..88bc0b83 100644
--- a/tests/producer/github/test_core.py
+++ b/tests/producer/github/test_core.py
@@ -13,15 +13,15 @@ def test_run_one() -> None:
github_host = 'https://api.github.com',
github_slug =
[
- 'redaxmedia/chroma-feedback'
+ 'henryruhs/chroma-feedback'
],
github_token = os.environ.get('GITHUB_TOKEN')
)
result = github.core.run()
assert result[0]['name'] == 'github'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback'
- assert 'https://github.com/redaxmedia/chroma-feedback/actions/runs' in result[0]['url']
+ assert result[0]['slug'] == 'henryruhs/chroma-feedback'
+ assert 'https://github.com/henryruhs/chroma-feedback/actions/runs' in result[0]['url']
assert result[0]['status'] in get_args(Status)
else:
pytest.skip('GITHUB_TOKEN is not defined')
@@ -33,7 +33,7 @@ def test_run_many() -> None:
github_host = 'https://api.github.com',
github_slug =
[
- 'redaxmedia'
+ 'henryruhs'
],
github_token = os.environ.get('GITHUB_TOKEN')
)
@@ -41,12 +41,12 @@ def test_run_many() -> None:
assert result[0]['name'] == 'github'
assert result[0]['slug']
- assert 'https://github.com/redaxmedia' in result[0]['url']
+ assert 'https://github.com/henryruhs' in result[0]['url']
assert result[0]['status'] in get_args(Status)
assert result[1]['name'] == 'github'
assert result[1]['slug']
- assert 'https://github.com/redaxmedia' in result[1]['url']
+ assert 'https://github.com/henryruhs' in result[1]['url']
assert result[1]['status'] in get_args(Status)
else:
pytest.skip('GITHUB_TOKEN is not defined')
diff --git a/tests/producer/gitlab/test_core.py b/tests/producer/gitlab/test_core.py
index 7e42183c..352069fa 100644
--- a/tests/producer/gitlab/test_core.py
+++ b/tests/producer/gitlab/test_core.py
@@ -21,12 +21,12 @@ def test_run_one() -> None:
assert result[0]['name'] == 'gitlab'
assert result[0]['slug'] == '33658238/test'
- assert 'https://gitlab.com/redaxmedia/chroma-feedback-test' in result[0]['url']
+ assert 'https://gitlab.com/henryruhs/chroma-feedback-test' in result[0]['url']
assert result[0]['status'] in get_args(Status)
assert result[1]['name'] == 'gitlab'
assert result[1]['slug'] == '33658238/lint'
- assert 'https://gitlab.com/redaxmedia/chroma-feedback-test' in result[1]['url']
+ assert 'https://gitlab.com/henryruhs/chroma-feedback-test' in result[1]['url']
assert result[1]['status'] in get_args(Status)
else:
pytest.skip('GITLAB_TOKEN is not defined')
@@ -43,12 +43,12 @@ def test_run_many() -> None:
assert result[0]['name'] == 'gitlab'
assert result[0]['slug'] == '33658238/test'
- assert 'https://gitlab.com/redaxmedia/chroma-feedback-test' in result[0]['url']
+ assert 'https://gitlab.com/henryruhs/chroma-feedback-test' in result[0]['url']
assert result[0]['status'] in get_args(Status)
assert result[1]['name'] == 'gitlab'
assert result[1]['slug'] == '33658238/lint'
- assert 'https://gitlab.com/redaxmedia/chroma-feedback-test' in result[1]['url']
+ assert 'https://gitlab.com/henryruhs/chroma-feedback-test' in result[1]['url']
assert result[1]['status'] in get_args(Status)
else:
pytest.skip('GITLAB_TOKEN is not defined')
diff --git a/tests/producer/netlify/test_core.py b/tests/producer/netlify/test_core.py
index 63bfd5db..dd2dcf00 100644
--- a/tests/producer/netlify/test_core.py
+++ b/tests/producer/netlify/test_core.py
@@ -13,7 +13,7 @@ def test_run_one() -> None:
netlify_host = 'https://api.netlify.com',
netlify_slug =
[
- '0b9627b8-da58-4dfc-8056-9645c02dcab6'
+ 'b31e0317-4398-4545-80fc-811ecc997a6e'
],
netlify_token = os.environ.get('NETLIFY_TOKEN')
)
diff --git a/tests/producer/test_core.py b/tests/producer/test_core.py
index a5f8d6f6..04ddbc0b 100644
--- a/tests/producer/test_core.py
+++ b/tests/producer/test_core.py
@@ -14,7 +14,7 @@ def test_process(mocker : Any) -> None:
sys.argv.append('--producer')
sys.argv.append('travis')
sys.argv.append('--travis-slug')
- sys.argv.append('redaxmedia/chroma-feedback')
+ sys.argv.append('henryruhs/chroma-feedback')
sys.argv.append('--travis-token')
sys.argv.append(os.environ.get('TRAVIS_TOKEN'))
process = mocker.spy(producer.travis, 'run')
diff --git a/tests/producer/travis/test_core.py b/tests/producer/travis/test_core.py
index 76957124..ab89d78d 100644
--- a/tests/producer/travis/test_core.py
+++ b/tests/producer/travis/test_core.py
@@ -13,14 +13,14 @@ def test_run_one() -> None:
travis_host = 'https://api.travis-ci.com',
travis_slug =
[
- 'redaxmedia/chroma-feedback'
+ 'henryruhs/chroma-feedback'
],
travis_token = os.environ.get('TRAVIS_TOKEN')
)
result = travis.core.run()
assert result[0]['name'] == 'travis'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback'
+ assert result[0]['slug'] == 'henryruhs/chroma-feedback'
assert result[0]['status'] in get_args(Status)
else:
pytest.skip('TRAVIS_TOKEN is not defined')
@@ -32,14 +32,14 @@ def test_run_many() -> None:
travis_host = 'https://api.travis-ci.com',
travis_slug =
[
- 'redaxmedia'
+ 'henryruhs'
],
travis_token = os.environ.get('TRAVIS_TOKEN')
)
result = travis.core.run()
assert result[0]['name'] == 'travis'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback'
+ assert result[0]['slug'] == 'henryruhs/chroma-feedback'
assert result[0]['status'] in get_args(Status)
else:
pytest.skip('TRAVIS_TOKEN is not defined')
diff --git a/tests/producer/vercel/test_core.py b/tests/producer/vercel/test_core.py
index be78d22a..b9b0ac2b 100644
--- a/tests/producer/vercel/test_core.py
+++ b/tests/producer/vercel/test_core.py
@@ -34,13 +34,14 @@ def test_run_many() -> None:
vercel_token = os.environ.get('VERCEL_TOKEN')
)
result = vercel.core.run()
+ result.reverse()
assert result[0]['name'] == 'vercel'
- assert result[0]['slug'] == 'chroma-feedback-test-gitlab'
+ assert result[0]['slug'] == 'chroma-feedback-test-bitbucket'
assert result[0]['status'] in get_args(Status)
assert result[1]['name'] == 'vercel'
- assert result[1]['slug'] == 'chroma-feedback-test-bitbucket'
+ assert result[1]['slug'] == 'chroma-feedback-test-gitlab'
assert result[1]['status'] in get_args(Status)
else:
pytest.skip('VERCEL_TOKEN is not defined')
diff --git a/tests/producer/wercker/__init__.py b/tests/producer/wercker/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/tests/producer/wercker/test_core.py b/tests/producer/wercker/test_core.py
deleted file mode 100644
index 12dd5654..00000000
--- a/tests/producer/wercker/test_core.py
+++ /dev/null
@@ -1,45 +0,0 @@
-import pytest
-import os
-import argparse
-from typing import get_args
-
-from chroma_feedback.producer import wercker
-from chroma_feedback.typing import Status
-
-
-def test_run_one() -> None:
- if os.environ.get('WERCKER_TOKEN'):
- wercker.core.ARGS = argparse.Namespace(
- wercker_host = 'https://app.wercker.com',
- wercker_slug =
- [
- 'redaxmedia/chroma-feedback'
- ],
- wercker_token = os.environ.get('WERCKER_TOKEN')
- )
- result = wercker.core.run()
-
- assert result[0]['name'] == 'wercker'
- assert result[0]['slug'] == 'redaxmedia/chroma-feedback'
- assert result[0]['status'] in get_args(Status)
- else:
- pytest.skip('WERCKER_TOKEN is not defined')
-
-
-def test_run_many() -> None:
- if os.environ.get('WERCKER_TOKEN'):
- wercker.core.ARGS = argparse.Namespace(
- wercker_host = 'https://app.wercker.com',
- wercker_slug =
- [
- 'redaxmedia'
- ],
- wercker_token = os.environ.get('WERCKER_TOKEN')
- )
- result = wercker.core.run()
-
- assert result[0]['name'] == 'wercker'
- assert result[0]['slug']
- assert result[0]['status'] in get_args(Status)
- else:
- pytest.skip('WERCKER_TOKEN is not defined')
diff --git a/tests/test_helper.py b/tests/test_helper.py
index 7c1842fa..356837d6 100644
--- a/tests/test_helper.py
+++ b/tests/test_helper.py
@@ -4,10 +4,10 @@
def test_parse_slug() -> None:
- assert 'workspace' in helper.parse_slug('redaxmedia')
- assert 'project' not in helper.parse_slug('redaxmedia')
- assert 'workspace' in helper.parse_slug('redaxmedia/chroma-feedback')
- assert 'project' in helper.parse_slug('redaxmedia/chroma-feedback')
+ assert 'workspace' in helper.parse_slug('henryruhs')
+ assert 'project' not in helper.parse_slug('henryruhs')
+ assert 'workspace' in helper.parse_slug('henryruhs/chroma-feedback')
+ assert 'project' in helper.parse_slug('henryruhs/chroma-feedback')
assert 'workspace' not in helper.parse_slug(None)
assert 'project' not in helper.parse_slug(None)
diff --git a/tests/test_reporter.py b/tests/test_reporter.py
index b3a0c9ae..7be67178 100644
--- a/tests/test_reporter.py
+++ b/tests/test_reporter.py
@@ -6,15 +6,15 @@ def test_create_producer_report_passed() -> None:
[
{
'name': 'github',
- 'slug': 'redaxmedia/chroma-feedback',
- 'url': 'https://github.com/redaxmedia/chroma-feedback',
+ 'slug': 'henryruhs/chroma-feedback',
+ 'url': 'https://github.com/henryruhs/chroma-feedback',
'status': 'passed'
}
])
assert producer_report[0]['symbol']
- assert producer_report[0]['message'] == 'Status of redaxmedia/chroma-feedback on github is passed'
- assert producer_report[0]['url'] == 'https://github.com/redaxmedia/chroma-feedback'
+ assert producer_report[0]['message'] == 'Status of henryruhs/chroma-feedback on github is passed'
+ assert producer_report[0]['url'] == 'https://github.com/henryruhs/chroma-feedback'
assert producer_report[0]['status'] == 'passed'
@@ -23,15 +23,15 @@ def test_create_producer_report_started() -> None:
[
{
'name': 'github',
- 'slug': 'redaxmedia/chroma-feedback',
- 'url': 'https://github.com/redaxmedia/chroma-feedback',
+ 'slug': 'henryruhs/chroma-feedback',
+ 'url': 'https://github.com/henryruhs/chroma-feedback',
'status': 'started'
}
])
assert producer_report[0]['symbol']
- assert producer_report[0]['message'] == 'Status of redaxmedia/chroma-feedback on github is started'
- assert producer_report[0]['url'] == 'https://github.com/redaxmedia/chroma-feedback'
+ assert producer_report[0]['message'] == 'Status of henryruhs/chroma-feedback on github is started'
+ assert producer_report[0]['url'] == 'https://github.com/henryruhs/chroma-feedback'
assert producer_report[0]['status'] == 'started'
@@ -40,15 +40,15 @@ def test_create_producer_report_errored() -> None:
[
{
'name': 'github',
- 'slug': 'redaxmedia/chroma-feedback',
- 'url': 'https://github.com/redaxmedia/chroma-feedback',
+ 'slug': 'henryruhs/chroma-feedback',
+ 'url': 'https://github.com/henryruhs/chroma-feedback',
'status': 'errored'
}
])
assert producer_report[0]['symbol']
- assert producer_report[0]['message'] == 'Status of redaxmedia/chroma-feedback on github is errored'
- assert producer_report[0]['url'] == 'https://github.com/redaxmedia/chroma-feedback'
+ assert producer_report[0]['message'] == 'Status of henryruhs/chroma-feedback on github is errored'
+ assert producer_report[0]['url'] == 'https://github.com/henryruhs/chroma-feedback'
assert producer_report[0]['status'] == 'errored'
@@ -57,15 +57,15 @@ def test_create_producer_report_warned() -> None:
[
{
'name': 'github',
- 'slug': 'redaxmedia/chroma-feedback',
- 'url': 'https://github.com/redaxmedia/chroma-feedback',
+ 'slug': 'henryruhs/chroma-feedback',
+ 'url': 'https://github.com/henryruhs/chroma-feedback',
'status': 'warned'
}
])
assert producer_report[0]['symbol']
- assert producer_report[0]['message'] == 'Status of redaxmedia/chroma-feedback on github is warned'
- assert producer_report[0]['url'] == 'https://github.com/redaxmedia/chroma-feedback'
+ assert producer_report[0]['message'] == 'Status of henryruhs/chroma-feedback on github is warned'
+ assert producer_report[0]['url'] == 'https://github.com/henryruhs/chroma-feedback'
assert producer_report[0]['status'] == 'warned'
@@ -74,14 +74,14 @@ def test_create_producer_report_failed() -> None:
[
{
'name': 'github',
- 'slug': 'redaxmedia/chroma-feedback',
- 'url': 'https://github.com/redaxmedia/chroma-feedback',
+ 'slug': 'henryruhs/chroma-feedback',
+ 'url': 'https://github.com/henryruhs/chroma-feedback',
'status': 'failed'
}
])
assert producer_report[0]['symbol']
- assert producer_report[0]['message'] == 'Status of redaxmedia/chroma-feedback on github is failed'
+ assert producer_report[0]['message'] == 'Status of henryruhs/chroma-feedback on github is failed'
assert producer_report[0]['status'] == 'failed'
@@ -173,14 +173,14 @@ def test_resolve_report_status_started() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
]) == 'started'
@@ -193,21 +193,21 @@ def test_resolve_report_status_errored() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
]) == 'errored'
@@ -220,28 +220,28 @@ def test_resolve_report_status_warned() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
]) == 'warned'
@@ -254,35 +254,35 @@ def test_get_producer_status_failed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'failed'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'warned'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'started'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'errored'
},
{
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
},
]) == 'failed'
@@ -295,7 +295,7 @@ def test_get_producer_status_passed() -> None:
'name': 'github',
'symbol': None,
'message': None,
- 'url': 'https://github.com/redaxmedia/chroma-feedback/actions/runs/1',
+ 'url': 'https://github.com/henryruhs/chroma-feedback/actions/runs/1',
'status': 'passed'
}
]) == 'passed'
diff --git a/wercker.yml b/wercker.yml
deleted file mode 100644
index 82f1dd3a..00000000
--- a/wercker.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-box: python:3.9
-
-build:
- steps:
- - script:
- name: install
- code: |
- apt-get update
- apt-get install libgl1 --assume-yes
- - script:
- name: lint
- code: |
- pip install flake8
- pip install mypy
- pip install requests
- pip install types-mock
- pip install types-requests
- flake8 bin/chroma-feedback chroma_feedback tests
- mypy bin/chroma-feedback chroma_feedback tests
- - script:
- name: test
- code: |
- pip install mock
- pip install pyqt5
- pip install pyqt5-stubs
- pip install pytest
- pip install pytest-mock
- pip install requests
- pytest tests