'Test that we don\'t attempt to deploy unchanged files'

def test_file_unchanged(self):

    class TestFile(DummyFile, ):
        def remote_changed(self):
            super(TestFile, self).remote_changed()
            return False
    self.engine.FileClass = TestFile
    self.engine.deploy()
    files = self.engine.created_files
    self.assertEqual(1, len(files))
    f = files[0]
    self.assertEqual(1, f.remote_changed_calls)
    self.assertEqual(0, f.do_upload_calls)
