title: AttributeError: 'module' object has no attribute 'tests'
body: <p>I'm running this command:</p>
  
  <pre><code>python manage.py test project.apps.app1.tests
  </code></pre>
  
  <p>and it causes this error:</p>
  
  <blockquote>
    <p>AttributeError: 'module' object has no attribute 'tests'</p>
  </blockquote>
  
  <p>Below is my directory structure. I've also added app1 to my installed apps config.</p>
  
  <pre><code>Traceback (most recent call last):
      File "manage.py", line 10, in &lt;module&gt; execute_from_command_line(sys.argv)
      File "/home/username/local/dev/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
      utility.execute()
      File "/home/username/local/dev/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
      self.fetch_command(subcommand).run_from_argv(self.argv)
      File "/home/username/local/dev/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 50, in run_from_argv
      super(Command, self).run_from_argv(argv)
      File "/home/username/local/dev/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
      self.execute(*args, **options.__dict__)
      File "/home/username/local/dev/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 71, in execute
      super(Command, self).execute(*args, **options)
      File "/home/username/local/dev/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
      output = self.handle(*args, **options)
      File "/home/username/local/dev/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 88, in handle
      failures = test_runner.run_tests(test_labels)
      File "/home/username/local/dev/local/lib/python2.7/site-packages/django/test/runner.py", line 146, in run_tests
      suite = self.build_suite(test_labels, extra_tests)
      File "/home/username/local/dev/local/lib/python2.7/site-packages/django/test/runner.py", line 66, in build_suite
      tests = self.test_loader.loadTestsFromName(label)
      File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
      parent, obj = obj, getattr(obj, part)
      AttributeError: 'module' object has no attribute 'tests'
  </code></pre>
  
  <p>Directory structure:</p>
  
  <p><img src="https://i.stack.imgur.com/DpRCx.png" alt="enter image description here"></p>