CAS unittest suite fails before any test runs
メンテナーはふだん 8 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
調査の方向性
tests/base_test.py の9行目から読み、初期化された Flask アプリがどこで作成され、インポートされるかをたどってください。セットアップエラーを再現するため、開発コンテナのルートから python -m unittest discover -s tests -p '*_test.py' を実行してください。各テストの本体までテスト検出が進み、ホームページのスモークテストが Flask アプリケーションを実行すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
The development-container test suite errors in shared setup when it tries to construct the Flask test client. This blocks even the home-page smoke test.
Steps to Reproduce
- Open a shell in the CAS development container at the repo root.
- Run
python -m unittest discover -s tests -p '*_test.py'.
Expected Behavior
The test client is created and the runner reaches each test body.
Actual Behavior
All three tests error at tests/base_test.py:9 with AttributeError: module 'app.allImports' has no attribute 'app'. Reproduced on 7697416. This occurs in the test runner.
Acceptance Criteria
- The shared setup imports the initialized Flask app and creates a test client.
- Test discovery reaches the test bodies, and the home-page smoke test exercises the running Flask application.
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 4
- 平均マージ
- 6日 6分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
BCStudentSoftwareDevTeam/cas のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
BCStudentSoftwareDevTeam/cas#491 ·
メンテナーはふだん 8 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
BCStudentSoftwareDevTeam/cas#488 ·
メンテナーはふだん 8 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
BCStudentSoftwareDevTeam/cas#487 ·
メンテナーはふだん 8 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
BCStudentSoftwareDevTeam/cas#486 ·
メンテナーはふだん 8 日以内に返信
-
Special topics rows on the Courses page have misaligned columns対応中かも @zapataa0 が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
BCStudentSoftwareDevTeam/cas#481 · 担当者 1 名 ·
メンテナーはふだん 8 日以内に返信
BCStudentSoftwareDevTeam/cas の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
yetone/alma-releases#782 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Pomax/markdown-editor#193 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cboard-org/cboard#2449 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
BinaryBaconLabs/todo-app#50 ·
メンテナーはふだん 1 日以内に返信
-
bug server testing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
blamechris/chroxy#9435 ·
メンテナーはふだん 1 日以内に返信