Index: /branches/ipp-350_add_to_jira_conf_backups/confluence_backup_test.py
===================================================================
--- /branches/ipp-350_add_to_jira_conf_backups/confluence_backup_test.py	(revision 41064)
+++ /branches/ipp-350_add_to_jira_conf_backups/confluence_backup_test.py	(revision 41065)
@@ -38,5 +38,5 @@
         { 'sources' : (f"{os.path.join(tmpdir, 'rsync_source_dir1')},"
                        f"{os.path.join(tmpdir, 'rsync_source_dir2')}")
-        , 'additional_args' : '-a --delete-after'
+        , 'additional_args' : '-a --delete-after --exclude exclude_me_if_you_like'
         , 'sub-dirs' : 'conf_subdir1, conf_subdir2'
         }
@@ -93,10 +93,13 @@
     file_in_rsync_dir1 = os.path.join(rsync_source_dir1, "some_file_to_rsync")
     file_in_rsync_dir2 = os.path.join(rsync_source_dir2, "some_other_file_to_rsync")
+    exluded_file = os.path.join(rsync_source_dir1, "exclude_me_if_you_like")
     os.makedirs(rsync_source_dir1)
     os.makedirs(rsync_source_dir2)
     Path(file_in_rsync_dir1).touch()
     Path(file_in_rsync_dir2).touch()
+    Path(exluded_file).touch()
     assert os.path.exists(file_in_rsync_dir1)
     assert os.path.exists(file_in_rsync_dir2)
+    assert os.path.exists(exluded_file)
 
 
@@ -342,4 +345,6 @@
         assert not os.path.exists(expected_file_bak1_dir2)
         assert not os.path.exists(expected_file_bak2_dir2)
+        an_excluded_file = os.path.join(expected_confluence_host_rsync1, "exclude_me_if_you_like")
+        assert not os.path.exists(an_excluded_file)
 
         rsync_result = cb._run_rsync()
@@ -359,2 +364,3 @@
         assert os.path.exists(expected_file_bak1_dir2)
         assert os.path.exists(expected_file_bak2_dir2)
+        assert not os.path.exists(an_excluded_file)
