---
title: "Discussion on \"PyTA Project: Refactoring test_check_on_dir() in test_check.py\" | Hashnode"
description: "Discussion on \"PyTA Project: Refactoring test_check_on_dir() in test_check.py\". Today's task is to refactor test_check_on_dir() function in test_check.py module for PythonTA (https://github.com/pyta-uoft/pyta).\nAccording to the instruction, the current test_check_on_dir() does two things simultaneously: testing whether python_ta..."
url: "https://hashnode.com/posts/pyta-project-refactoring-testcheckondir-in-testcheckpy/66524578cc18ac97ff5ad8df"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PyTA Project: Refactoring test\_check\_on\_dir() in test\_check.py](https://raine-yang.com/pyta-project-refactoring-testcheckondir-in-testcheckpy?utm_source=hashnode&utm_medium=feed)

Today's task is to refactor test\_check\_on\_dir() function in test\_check.py module for PythonTA (https://github.com/pyta-uoft/pyta). According to the instruction, the current test\_check\_on\_dir() does two things simultaneously: testing whether python\_ta...

May 25, 2024 · 13 min read · raine-yang.com  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#testing](https://hashnode.com/tag/testing)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#json](https://hashnode.com/tag/json)
-   [#pylint](https://hashnode.com/tag/pylint)

## Written by

[Raine](https://hashnode.com/@RaineYang)

@RaineYang

  
[View profile](https://hashnode.com/@RaineYang)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
