old_contents: import sqlite3
  
  from expects import *
  from src.data import crossword
  
  
  with description('clue_keywords'):
    with it('removes garbage characters'):
      expect(crossword.clue_keywords('-_-;;!')).to(be_empty)
  
    with it('removes common words'):
      expect(crossword.clue_keywords('for eg that abbr for the org')).to(be_empty)
  
    with it('removes (\d+)'):
      expect(crossword.clue_keywords('(11)')).to(be_empty)
  
    with it('ignores 1 character words'):
      expect(crossword.clue_keywords('a b c d e')).to(be_empty)
  
    with it('tokenizes and alphabetizes what remains'):
      expect(crossword.clue_keywords(
          'Vegetable that gives Popeye superhuman strength (7)'
      )).to(equal(['vegetable', 'gives', 'popeye', 'superhuman', 'strength']))
  
  
  cursor = None
  with description('db'):
    with before.all:
      global cursor
      conn = crossword.init(':memory:')
      cursor = conn.cursor()
      crossword.add(cursor, 'blue', 1, ['color', 'emotion'])
      crossword.add(cursor, 'orange', 2, ['color', 'fruit'])
      conn.commit()
  
    with it('returns empty results for garbage'):
      expect(crossword.query(cursor, 'dfsafsfasdfasdfas')).to(be_empty)
  
    with it('returns specific results'):
      results = crossword.query(cursor, 'color or emotion')
      expect(results).not_to(be_empty)
      expect(results[0]).to(contain('blue'))
  
new_contents: from expects import *
  from src.data import crossword
  
  
  with description('clue_keywords'):
    with it('removes garbage characters'):
      expect(crossword.clue_keywords('-_-;;!')).to(be_empty)
  
    with it('removes common words'):
      expect(crossword.clue_keywords('for eg that abbr for the org')).to(be_empty)
  
    with it('removes (\d+)'):
      expect(crossword.clue_keywords('(11)')).to(be_empty)
  
    with it('ignores 1 character words'):
      expect(crossword.clue_keywords('a b c d e')).to(be_empty)
  
    with it('tokenizes and alphabetizes what remains'):
      expect(crossword.clue_keywords(
          'Vegetable that gives Popeye superhuman strength (7)'
      )).to(equal(['vegetable', 'gives', 'popeye', 'superhuman', 'strength']))
  
  
  cursor = None
  with description('db'):
    with before.all:
      global cursor
      conn = crossword.init(':memory:')
      cursor = conn.cursor()
      crossword.add(cursor, 'blue', 1, ['color', 'emotion'])
      crossword.add(cursor, 'orange', 2, ['color', 'fruit'])
      conn.commit()
  
    with it('returns empty results for garbage'):
      expect(crossword.query(cursor, 'dfsafsfasdfasdfas')).to(be_empty)
  
    with it('returns specific results'):
      results = crossword.query(cursor, 'color or emotion')
      expect(results).not_to(be_empty)
      expect(results[0]).to(contain('blue'))
  
subject: Remove unused import.