()
| 46 | from lib.request import inject |
| 47 | |
| 48 | def _addPageTextWords(): |
| 49 | wordsList = [] |
| 50 | |
| 51 | infoMsg = "adding words used on web page to the check list" |
| 52 | logger.info(infoMsg) |
| 53 | pageWords = getPageWordSet(kb.originalPage) |
| 54 | |
| 55 | for word in pageWords: |
| 56 | word = word.lower() |
| 57 | |
| 58 | if len(word) > 2 and not word[0].isdigit() and word not in wordsList: |
| 59 | wordsList.append(word) |
| 60 | |
| 61 | return wordsList |
| 62 | |
| 63 | @stackedmethod |
| 64 | def tableExists(tableFile, regex=None): |
no test coverage detected
searching dependent graphs…