NoneType1 [Blog 만들기] AttributeError: 'NoneType' object has no attribute 'text' AttributeError: 'NoneType' object has no attribute 'text' -> NoneType이라서 text 속성이 없다. 'NoneType' 은 'None'의 의미로 Java, c의 'Null'과 같은 의미이다. cmd의 에러 설명을 보면 아래의 위치에서 에러가 났기 때문에 tests.py 코드의 153번째 줄을 보자. File "C:\Users\user\Documents\GitHub\Blog_do_it_django\blog\tests.py", line 153, in test_category_page self.assertIn(self.category_programming.name, main_area.text) asserIn(a, b) : a in b 따라서 여기 코드에서의.. 2022. 7. 7. 이전 1 다음