chubin / chubin/cheat.sh

Tests are failing because of color schema changes

Open
#345 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Tests are failing, because ANSI markup is different. This is a server bug, but need to check it is only for https://cht.sh or if it is repeated with local server in Docker container. Need to turn off upstream query for Docker tests.

```diff
-^[[38;5;246;03m# To display everything in , excluding hidden files:^[[39;00m
+^[[38;5;248;03m# To display everything in , excluding hidden files:^[[39;00m
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ANSI markup failure and compare results from https://cht.sh with the local server in the Docker container. Inspect the Docker test setup and determine how to turn off upstream queries there. Done means the tests pass with the expected color schema and the behavior is understood for both server environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.