
import cc.license

def test_locales():
    locales = cc.license.locales()
    for l in locales:
        assert type(l) == unicode
    for c in ('en', 'de', 'he', 'ja', 'fr'):
        assert c in locales


import cc.license

def test_locales():
    locales = cc.license.locales()
    for l in locales:
        assert type(l) == unicode
    for c in ('en', 'de', 'he', 'ja', 'fr'):
        assert c in locales

def test_cc_license_classes():
    cc_dir = dir(cc.license)
    assert 'Jurisdiction' in cc_dir
    assert 'License' in cc_dir
    assert 'Question' in cc_dir
    assert 'LicenseSelector' in cc_dir

Add test to make sure certain classes are always found in cc.license, no matter where they are internally.
Add test to make sure certain classes are always found in cc.license,
no matter where they are internally.

  
  import cc.license
  
  def test_locales():
      locales = cc.license.locales()
      for l in locales:
          assert type(l) == unicode
      for c in ('en', 'de', 'he', 'ja', 'fr'):
          assert c in locales
  
+ def test_cc_license_classes():
+     cc_dir = dir(cc.license)
+     assert 'Jurisdiction' in cc_dir
+     assert 'License' in cc_dir
+     assert 'Question' in cc_dir
+     assert 'LicenseSelector' in cc_dir
+ 
Add test to make sure certain classes are always found in cc.license, no matter where they are internally.
## Code Before:

import cc.license

def test_locales():
    locales = cc.license.locales()
    for l in locales:
        assert type(l) == unicode
    for c in ('en', 'de', 'he', 'ja', 'fr'):
        assert c in locales

## Instruction:
Add test to make sure certain classes are always found in cc.license, no matter where they are internally.
## Code After:

import cc.license

def test_locales():
    locales = cc.license.locales()
    for l in locales:
        assert type(l) == unicode
    for c in ('en', 'de', 'he', 'ja', 'fr'):
        assert c in locales

def test_cc_license_classes():
    cc_dir = dir(cc.license)
    assert 'Jurisdiction' in cc_dir
    assert 'License' in cc_dir
    assert 'Question' in cc_dir
    assert 'LicenseSelector' in cc_dir
